I tried to install Apache Ant on my Mac and I followed the next steps :
- I downloaded
apache-ant-1.8.1-bin.tar.gz
into my Downloads folder. - I moved the file to
/usr/local/
using this commands :sudo sh
andmv apache-ant-1.8.1-bin.tar.gz /usr/local/
Now I want to use cd /usr/local/
but it’s not working, I get back “No such file or directory”.
Then I used cd /usr/
and ls
commands and it seems that the local folder is there. If I try to access it I get the same error.
Since I already used sudo su
why I can’t access it? Any ideas?