LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-04-2006, 10:09 AM   #1
pipkato
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
What am I doing wrong here with CPIO?


Can anyone help with my so far unsuccessful efforts to install Tivowebplus 1.2.1? I'm trying to install it into a Tivo PVR which I believe runs GNU Linux.

I can't seem to get it to install. I've downloaded it and gzipped it to my /var/hack folder, and it has expanded okay to the file 'tivowebplus-1.2.1.tar'.

But when I Telnet (from my Windows XP machine) and run what I believe is the correct install command it just lists out the various directories of the Tivowebplus file and gives me the error message 'no such file or directory' at the end of each line.

I'm running the command '/bin/cpio -H tar -i < tivowebplus-1.2.1.tar' from the /var/hack directory.

I know nothing about Linux so it may be that my sources of info have some error in the punctuation of the Linux command line.

Can anyone help?

Any advice gratefully received.

Thanks.
 
Old 07-04-2006, 10:48 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,796

Rep: Reputation: 323Reputation: 323Reputation: 323Reputation: 323
Cpio is used to copy files into or out of an archive. It isn't used to install software (at least I haven't heard of it being used to install).

You have unzipped the archive. Now you need to extract the contents.
tar -xf tivowebplus-1.2.1.tar

That will probably create a directory named tivowebplus-1.2.1. You will still have the tar archive, but you will also have the directory with all the contents of the archive.

then,
cd tivowebplus-1.2.1

Look for a README or INSTALL file. That should contain installation instructions. The most common is a set of three commands:
./configure
make
make install (which you will probably have to su to root to have the necessary permissions to write the files to their installation locations.

The su command will prompt you for the root password.
 
Old 07-04-2006, 11:13 AM   #3
pipkato
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks Bigriver.

I found the solution.

The command line I was given needed an extra character to make it work. Instead of '-i' it needed '-id'. The addition of the 'd' forces the preparation of the directories that 'Tivowebplus' expands into.

Once I did that it was hunky dory.

Thanks again.

Roy
 
Old 07-04-2006, 11:26 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,796

Rep: Reputation: 323Reputation: 323Reputation: 323Reputation: 323
I learn something new everytime I turn on this machine. Thanks, pipkato.
 
  


Reply

Tags
cpio, gnu, install, tivo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using cpio ksun Linux - Newbie 4 05-12-2006 06:14 AM
CPIO Issues froggo Linux - Enterprise 0 04-18-2006 02:08 PM
How to use cpio to extract a cpio archive? linx win Debian 4 06-17-2005 02:53 PM
cpio problem mgventura Red Hat 0 04-15-2004 08:56 AM
cpio.gz?? unprocessed Linux - Newbie 7 09-11-2002 05:37 PM


All times are GMT -5. The time now is 07:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration