This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Installing Apache Ant for Governance Registry on Linux
In order to extract the JAR files required to run the remote Registry API and simplify the process of setting up remote client applications for WSO2 Governance Registry, it is necessary to install Apache Ant of the latest version.
Note
See Governance Registry Installation Prerequisites for the full list of all applications necessary to install and work with WSO2 Governance Registry.
Follow the instructions below to install Apache Ant on Linux from the command line.
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. Check Java Environment
Make sure you have a Java environment installed. See Apache Ant System Requirements for details.
Step 2. Install Apache Ant
For Ubuntu, Debian:
Type the following command:
sudo apt-get install ant
For CentOS, RedHat and Fedora:
Type the following command:
sudo yum install ant
Step 3. Verify Installation of Apache Ant
After installation check the version by the following command:
ant -version
The system displays information about the Apache Ant version installed.