Java Reference
In-Depth Information
Figure C.2: About to Transform into the Super User
Next, we will need to create a directory to store ant in. Do this with the following com-
mand:
mkdir /usr/local
You may get an error telling you that this directory already exists. If you do get this error,
simply ignore it. Now you need to move to this directory with the following command:
cd /usr/local
You are now ready to unpack the ant archive that you downloaded earlier. This is done
with the following command:
tar zxvf ~/apache-ant-1.6.5-bin.tar.gz
Of course, if you downloaded a different version make sure to change the filename ap-
propriately. If the unpack is successful, you will see dozens of files stream by on the terminal.
When it is all done, your terminal will look similar to Figure C.3.
Search WWH ::




Custom Search