it not ant that is installed by default with eclipse
but the plugin of ant that latte you use ant directly from your id in this Cass eclipse
so ant must be present in your system so the pugin can use it
to install ant in Ubuntu use this command in a terminal
sudo apt-get install ant