LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-06-2004, 05:16 AM   #1
sneezesnoeze
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Rep: Reputation: 0
where to find a tar-file in a rpm


Hi

I am just reading http://www.rpm.org/max-rpm/s1-rpm-inside-macros.html

cd /usr/src/redhat/BUILD
rm -rf cdplayer-1.0
gzip -dc /usr/src/redhat/SOURCES/cdplayer-1.0.tgz | tar -xvvf -
if [ $? -ne 0 ]; then
exit $?
fi
cd cdplayer-1.0
cd /usr/src/redhat/BUILD/cdplayer-1.0
chown -R root.root .
chmod -R a+rX,g-w,o-w .

This text is in the setup. gzip is searching for a file: /usr/src/redhat/SOURCES/cdplayer-1.0.tgz

If you only have your rpm, how can this macro be looking for a tar-file. It will not be there when you install it on a "clean machine" will it ?

Kind Regards
Sneeze
 
Old 04-06-2004, 12:18 PM   #2
jean-michel
Member
 
Registered: Mar 2004
Location: 78 france
Posts: 31
Blog Entries: 1

Rep: Reputation: 0
search for rpm2tar
 
  


Reply


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
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 03:48 AM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 04:15 AM
create an RPM install file from tar? Siljrath Linux - Newbie 8 01-07-2005 02:33 PM
How to Install tar, zip, rpm file? AskMe Linux - Newbie 5 09-25-2003 04:13 PM
Installed RPM/tar file, cant find out how to run it Craneology Linux - Software 4 03-01-2003 09:10 PM


All times are GMT -5. The time now is 07:04 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration