Solved

Install CPIO

Posted on 2014-10-24
1
173 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 11

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
Some of the SEO trends we might expect in 2017.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

860 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