Install UNZIP binary on AIX 7.1

Problem:

$ which unzip
which: 0652-141 There is no unzip in /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin .

Solution:

1. install from yum

# yum -y install unzip
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package unzip.ppc 0:6.0-3 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================
 Package       Arch        Version         Repository           Size
=====================================================================
Installing:
 unzip         ppc         6.0-3           AIX_Toolbox         353 k

Transaction Summary
=====================================================================
Install       1 Package

Total download size: 353 k
Installed size: 353 k
Downloading Packages:
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : unzip-6.0-3.ppc                                   1/1

Installed:
  unzip.ppc 0:6.0-3

Complete!

2. install from package

Download From AIX Toolbox for Open Source Software

# rpm -ivh unzip-6.0-3.aix6.1.ppc.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:unzip-6.0-3                      ################################# [100%]
# which unzip
/usr/bin/unzip

張貼留言

0 留言