Solved

Install CPIO

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Note: This is the third blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   We’ve been talki…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

867 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

15 Experts available now in Live!

Get 1:1 Help Now