Apache Ant is a command-line tool that allows users to build, compile, assemble, test and run Java applications. It can also be used to build C/C++ applications. In this tutorial, we will see how to install Ant on Ubuntu.
To install Apache Ant on Ubuntu 11.04/10.10/10.04, run these commands using the Terminal (Ctrl+Alt+T):
sudo add-apt-repository ppa:eclipse-team/debian-package
sudo apt-get update
sudo apt-get install ant
For more information about Apache Ant, check this manual.