LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AIX (https://www.linuxquestions.org/questions/aix-43/)
-   -   Installing Apache Ant in AIX 6.1 (https://www.linuxquestions.org/questions/aix-43/installing-apache-ant-in-aix-6-1-a-4175454348/)

gaugeta 03-16-2013 02:37 PM

Installing Apache Ant in AIX 6.1
 
I want to install Apache Ant on my AIX 6.1 Server and I'm facing some issues.

When I visit the link http://ant.apache.org/manual/install.html I did not understand the installation step for the files with the extention .tar.gz

The step is : .tar.gz - Uses the tar program to gather files together, and gzip to compress and uncompress.

Here how do I need to use the tar against the ant .tar.gz binary distribution and how do I use the gzip command against the file.

DukeSSD 03-16-2013 09:03 PM

Can you carry heavy stuff?

Maybe you are in the wrong job!

HTH ;0)

xj-linux 03-18-2013 07:34 PM

gunzip filename.tar.gz to unzip it
tar -tvf filename.tar to see what's in it, and where it will wind up going
tar -xvf filename.tar to actually unarchive the tar file

Bonus advice: Ignore internet smart asses who don't follow up with actual information after their witty comments. They are a sad lot.

NevemTeve 03-26-2013 12:21 AM

On Aix the default tar program isn't really capable. Try something like this:

Code:

gunzip -c something.tar.gz | tar xvf -

DukeSSD 03-26-2013 09:49 PM

I think he's probably on the building site by now, wondering if he fully understood what 'heavy stuff' is ;0)

Cruel, I know, but there is a place for comments like this...


All times are GMT -5. The time now is 04:08 PM.