Updating Ant On Ubuntu
02 Jun 20161. Get source archive
From: ant download page
2. Extract contents of the source archive (assuming a tar.gz archive and version 1.9.7)
3. Fetch dependencies
4. Build
5. Install
Uninstall the previous version of ant.
6. Setup Environment (assuming bash)
Also, setup JAVA_HOME if not already done.
7. Check
Open a new terminal.
All Set !!