Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-25-2004, 01:19 PM   #1
LQ Newbie
Registered: Dec 2003
Posts: 13

Rep: Reputation: 0
Exclamation Installing XFree86-4.3.0-42.src.rpm

When I try to install XFree86-4.3.0-42.src.rpm It acts al though it has installed. I do not get any error messages and everything appears to be in order. However, when trying to install something that requires XFree86-4.3.0-42.src.rpm I get an error message saying that I need to install it.
Old 04-25-2004, 01:55 PM   #2
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
that's not a binary rpm. it's a source rpm -> *.src.rpm

to build a binary rpm that will install xfree, use the command:

rpm --rebuild *.src.rpm

then click on the built *.rpm file to install xfree.
Old 04-25-2004, 02:30 PM   #3
LQ Newbie
Registered: Dec 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks, I think it worked, but I got the following error, so I am not sure

Bad exit status from /var/tmp/rpm-tmp.62911

any idea what that means?
Old 04-25-2004, 09:45 PM   #4
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
When you install a src.rpm, you get a minimun of two files installed; more if there are patch files in the src.rpm. The location of the installation varies among the distros. To find yours, open a terminal and do 'locate SPECS' (without quotes). That is where the src.rpm will install the spec file which will build the new binary rpm. Then 'locate SOURCES). That is where the src.rpm will install the source tarball and patch files. To build a new rpm, cd to the SPECS directory, and, as root, issue the command 'rpm -bb <filename>.spec'. -bb tells rpm to build (-b) and binary (b) rpm. Substitute the filename of the spec file for <filename>. When it's all done cranking, you will have a new, installable rpm in the RPMS directory, in one of the subfolders, which you can install (unless more errors crop up).
See the manpages on rpm for more info on building rpms.


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
Installing a src rpm Chijtska Linux - Software 2 04-13-2005 08:49 AM
Installing foo.src.rpm hhegab Linux - Software 1 06-03-2004 06:35 AM
error with installing src.rpm morningstar665 Linux - Software 5 11-23-2003 12:56 PM
mplayer .src.rpm installing problems Harp00 Linux - Newbie 0 09-25-2003 03:29 PM
Installing .src.rpm Drogo Linux - Software 6 06-17-2003 01:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:17 AM.

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