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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-18-2003, 04:32 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Location: San Francisco, CA
Distribution: Redhat 9
Posts: 2
Rep:
|
src.rpm question
I am embarassed to ask this question but I've no other alternative... The answer is apparently so obvious that the documentation and Ultra RPM glaze right over it.
When trying to install a .src.rpm I get no complaints but the package doesn't show as installed according to rpm -q.
#rpm -ihvv ethereal-0.9.8-6.src.rpm
Does installing the .src simply set up the binaries of the rpm, so I need to run a "make?"
Thanks.
--nd
|
|
|
06-19-2003, 04:47 AM
|
#2
|
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565
Rep:
|
The answer isn't obvious, far from it. Unfortunately RPM is just arcane.
Try this:
rpmbuild -ba foo.src.rpm
Installing it will place the specs and sources in /usr/src/redhat/*
|
|
|
06-19-2003, 08:28 AM
|
#3
|
Moderator
Registered: May 2001
Posts: 29,415
|
Also see "rpm --rebuild <package>.src.rpm".
"When invoked this way, rpm installs the named source pack_
age, and does a prep, compile and install. In addition,
--rebuild builds a new binary package. When the build has
completed, the build directory is removed (as in --clean)
and the the sources and spec file for the package are
removed."
Nothing "arcane" in that, just learning to deal with your system and read ing "man rpm".
|
|
|
06-19-2003, 12:38 PM
|
#4
|
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565
Rep:
|
rpm --rebuild is AFAIK deprecated in favour of rpmbuild.
|
|
|
06-19-2003, 12:47 PM
|
#5
|
LQ Newbie
Registered: Jun 2003
Location: San Francisco, CA
Distribution: Redhat 9
Posts: 2
Original Poster
Rep:
|
Thank you very much, Mike. That did the trick beautifully.
--jag
|
|
|
06-19-2003, 01:10 PM
|
#6
|
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565
Rep:
|
No problem! 
|
|
|
All times are GMT -5. The time now is 05:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|