You have successfully installed Apache Ant on your Centos 8 server. If you have a similar output you need to install Apache Ant. In order to check this, from terminal run the following command: macbook: adm ant -v -bash: ant: command not found macbook: adm.
Some of the Mac OS versions already have pre-installed Apache Ant. To verify if Apache Ant is installed properly use the ant -v command which will display the Apache Ant version: $ ant -versionĪpache Ant(TM) version 1.10.7 compiled on September 1 2019 For this tutorial I will use: Apache Ant version 1.9.6. Use the wget command to download Apache Ant zip file: wget -c. Apache Ant is a tool for building Java applications from the source file, which is required by j5 when packaging all the workflow (Gemsbok) source files. 01- First, to download the latest version of Apache Ant, visit the Apache Ant releases page. $ sudo chmod +x /etc/profile.d/ant.shĠ3- Load the environment variables for the current session by using the following command. Download and Install Apache Ant on CentOS 8. Step 4: Go to Computer Properties Advanced system settings Step 5: A new window opens.
$ vi /etc/profile.d/ant.shĠ2- Make the script executable by using the chmod command. Step 1: Go to this URL Step 2: Download zip file named like apache-ant-1.10.1-bin.zip Step 3: Extract the zip file into a directory structure of your choice. To do that, create a new file named ant.sh inside of the /etc/profile.d/ directory. Download and run the latest version of WinAnt, and follow the directions. For example, the installation directory might be. If you get an error saying sudo: unzip: command not found, install the unzip package with: sudo dnf install unzip.Ġ1- We will now configure the PATH environment variable to include the Apache Ant’s bin directory. To install Ant on Windows, you can use WinAnt the Windows installer for Apache Ant. Set the variable name to ANTHOME and the variable value to apache-install-dir apache-ant-1.7.0 and click OK.