Solved

AIX zip & unzip commands

Posted on 2011-09-28
7
10,157 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
ID: 36717866
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:Richard Quadling
Richard Quadling earned 100 total points
ID: 36717883
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
ID: 36717894
I have the password for root
would you please walk me through doing that;
I have never doen it before.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 40

Expert Comment

by:Richard Quadling
ID: 36717933
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
ID: 36718320
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
ID: 36718368
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
ID: 36718567
thanks
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Java core in Solaris 10 1 281
UNiX Script filesystem space usage Part2 54 87
Convert OverPunch 25 64
Wrap Oraccle SQL*Plus executable Command 4 84
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

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