LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 04-03-2007, 01:40 PM   #1
japkin
LQ Newbie
 
Registered: Apr 2007
Location: Atlanta, GA
Posts: 2

Rep: Reputation: 0
Gentoo: src.rpm to tar.gz conversion?


I am trying to take an existing src.rpm file and install it on Gentoo. It is my understanding that the best way to do this is to convert the file into a tar.gz file and then emerge from there. I'm not sure how to do this. Any help would be appreciated.
 
Old 04-03-2007, 02:59 PM   #2
japkin
LQ Newbie
 
Registered: Apr 2007
Location: Atlanta, GA
Posts: 2

Original Poster
Rep: Reputation: 0
Okay, problem #1 solved...

First, verify rpm2tar (or rpm2targz) is installed
# emerge -va rpm2tar

Once installed, convert it
# rpm2tar stuff.src.rpm

Then untar it
# tar -xvf stuff.src.tar

Now I have the following files:
stuff.initscript
stuff-src.tgz
stuff.spec

Not sure what to do to move forward. There are no makefiles or anything to help me make an ebuildfile or tbz2file. The README.TXT only gives instructions on building an RPM, which I don't need.

Any ideas?
 
  


Reply

Tags
emerge, gentoo, tar


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
tar to rpm conversion mohit.chugh Linux - Software 12 12-18-2006 02:34 AM
Difference between .src.rpm & .tar.gz packages chinmay nautiya Linux - Software 18 08-10-2006 07:00 AM
.tar.gz and .tar.bz and .src.rpm how to rpms gadekishore Linux - Software 2 10-13-2005 12:51 AM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 12:08 PM


All times are GMT -5. The time now is 05:39 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