?
Solved

Install CPIO

Posted on 2014-10-24
1
Medium Priority
?
193 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
Ganesh Kumar A earned 2000 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 learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

New style of hardware planning for Microsoft Exchange server.
Introducing Priority Question, our latest feature.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

765 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