Quantcast
Viewing all articles
Browse latest Browse all 1851

What to do when AIX doesn't include unzip

So I'm working in an AIX environment, where the unzip command isn't available in /usr/bin, and the AIX Toolkit version isn't installed in /opt/freeware/bin.

So how do I unzip a file ?

The answer ?

Use Java :-)

AIX UnZip

By default, AIX does have an option to unzip .zip files, it's just a little bit hidden. Normally one would use 'unzip' but that's not available by default. You can install it as a rpm, but that's not necessary. Java is installed by default and is also capable of unzipping .zip files, with these simple steps:

• Add the java utilities directory to your path
• Unzip the file using jar
export PATH=$PATH:/usr/java5/bin
jar -xvf zipfile.zip

That's all!

Source: Sjoerd Hooft - AIX UnZip

Viewing all articles
Browse latest Browse all 1851

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>