Solved

Install CPIO

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help needed with DCM certificate renewal 9 372
CWBX .NET Message Queue 9 348
how to apply the SSL on iseries and WAS application 1 133
IBM i Break Messages 1 26
Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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