Solved

AIX zip & unzip commands

Posted on 2011-09-28
7
9,466 Views
Last Modified: 2012-06-21
I have an Oracle installation between local and remore hosts that requires ZIP and UNZIP
.
I'm using IX 6.1 and when I do
which zip
I get an output from Oracle_home like
/ora01/app/oracle/product/11.2.0/dbhome_1/bin/zip

how can I find and Install zip and unzip for AIX 6.1
0
Comment
Question by:it-rex
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
Comment Utility
Hi,

download the appropriate RPM packages from http://www.perzl.org and install them using the rpm tool which comes with AIX.

wmp
0
 
LVL 40

Assisted Solution

by:RQuadling
RQuadling earned 100 total points
Comment Utility
I would have said start with Large Open Source Software Archive for AIX : Zip and pick the version appropriate for you, but there are no 6.1 packages there.

AIX Toolbox for Linux Applications has zip packages, but I can't see a AIX version number.

You _MAY_ find that 5.1 packages are compatible.

0
 
LVL 11

Author Comment

by:it-rex
Comment Utility
I have the password for root
would you please walk me through doing that;
I have never doen it before.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 40

Expert Comment

by:RQuadling
Comment Utility
ftp://ftp.info-zip.org/pub/infozip/unix/aix/ goes up to AIX 5L

But ftp://www.oss4aix.org/latest/aix61/ (via woolmilkporc's link) seems to be good too.
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 400 total points
Comment Utility
Download these packages:

http://www.oss4aix.org/download/RPMS/unzip/unzip-64bit-6.0-3.aix5.1.ppc.rpm
http://www.oss4aix.org/download/RPMS/zip/zip-3.0-1.aix5.1.ppc.rpm
http://www.oss4aix.org/download/RPMS/bzip2/bzip2-1.0.6-1.aix5.1.ppc.rpm

Don't worry about the "aix5.1" stuff in the filenames. It's compatible!

Put them into a directory of your choice (I'll use "/path/to/download/location" as a placeholder below) on the AIX box.

Attention: If you download them to Windows to transfer them to AIX via FTP afterwards it's mandatory to use "binary" transfer mode!

Done this issue

cd /path/to/download/location
rpm -ivh bzip2/bzip2-1.0.6-1.aix5.1.ppc.rpm
rpm -ivh zip-3.0-1.aix5.1.ppc.rpm
rpm -ivh unzip-64bit-6.0-3.aix5.1.ppc.rpm

Now you'll find "zip" and "unzip" in /opt/freeware/bin and links to them in /usr/bin.

Issue "zip --help" or "unzip --help" to see the syntax.

wmp

0
 
LVL 5

Expert Comment

by:balasundaram_s
Comment Utility
FYI.  'zip' and 'unzip' come with oracle binaries will work straight away.  These can be copied across the AIX servers, if you like.  Actually, there is no need to install any package for this.
0
 
LVL 11

Author Closing Comment

by:it-rex
Comment Utility
thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now