Try
$ which ant
to see where ant is installed.
I usually install it in /usr/local/ant, and ensure /usr/local/ant/bin isin my PATH. In addition I set another env variable JAVA_HOME to be wheremy JDK is
That seems to work ok
best wishes
Mark