Solved

Install CPIO

Posted on 2014-10-24
1
159 Views
Last Modified: 2014-10-27
I am trying to install Redis on my iSeries, but I need to have CPIO installed. I attempted to go to the youngiprofessionals site and do the following:

Download these files first (prepare phase)
Download click here (4 files) → rpm.rte, wget.rpm, Attach:setup.sh, Attach:wwwinstall.sh to your PC.
ftp files from your PC to IBM i (binary mode)
ftp myibmi
> bin
> mkdir /QOpenSys/download
> cd /QOpenSys/download
> put rpm.rte
> put wget.rpm (example version: wget-1.9.1-1.aix5.1ppc.rpm)
> put setup.sh
> put wwwinstall.sh

On IBM i:
call qp2term
> cd /QOpenSys/download
> chmod +x setup.sh          <---make executable
> setup.sh                   <---install rpm.rte and wget.rpm (example version: wget-1.9.1-1.aix5.1ppc.rpm)

Then I ran:

> cd /QOpenSys/download
> chmod +x wwwinstall.sh
> wwwinstall.sh GetBase_wget

When I went to /opt/freeware/bin there was no CPIO present.

I also attempted to download the RPM directly. I got: cpio-2.5-1.aix5.1.ppc.rpm

However, I am not sure how to extract the file to get CPIO

Any help would be appreciated...

Thanks
0
Comment
Question by:Matthew Roessner
1 Comment
 
LVL 10

Accepted Solution

by:
Ganesh Kumar A earned 500 total points
ID: 40403568
Try this, below command will install the RPM automatically

$ rpm -ivh cpio-2.5-1.aix5.1.ppc.rpm
$ rpm2cpio zlib-1.2.5-1.puppet.local.aix6.1.ppc.rpm | /opt/freeware/bin/cpio -idmv
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

757 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

20 Experts available now in Live!

Get 1:1 Help Now