Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Establish a SSH connection to the Linux machine or log in on the text Linux console. You should either log in as root or obtain root permissions after login via su or sudo command.

Step 1. Download Apache Ant

Code Block
wget http://archive.apache.org/dist/ant/binaries/apache-ant-1.8.2-bin.tar.gz

Step 2. Extract Downloaded File

Code Block
gunzip -c apache-ant-1.8.2-bin.tar.gz |tar xvf -

Step 3. Set Environmental Variables

Add the following lines to BASHRC file:

Code Block
export ANT_HOME=/opt/apache-ant-1.8.2
export PATH=${ANT_HOME}/bin:${PATH}

Step 4. Check Installation

Code Block
ant -version

Excerpt
hiddentrue

Instructions to install Apache Ant on Solaris.

...