Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 07-22-2005, 06:57 PM   #1
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188

Rep: Reputation: 30
QUERY: unusual .src.rpm files....

What's the difference between an .rpm and a .src.rpm?

Well I know that .rpm is a Redhat Package used by the Package Manager. But when I installed a .src.rpm I notice that it just unpackaged the files to:


Hmm. I could've just downloaded the net-snmp-5.1.3.tar.gz file itself. But wait, I notice a .spec file with lots of perl scripting inside. Hmm, this must be used by a Redhat Add/Remove applications or some other installer. Does anyone know how to properly install this .src.rpm the way it was suppose to be installed? (and it's definitely not the oldskool tar zxvf way).
Old 07-23-2005, 12:31 AM   #2
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 211

Rep: Reputation: 31
The rpm normally has the binary package (the one that you actually executes)
The src.rpm normally has the source code (from which the binaries are compiled)

An 'end user' shouldn't normally have to install src.rpm.

If you really need to install from source (e.g. you have very specific an unusual configuration requirements) then you normally have to go to the location where the source was installed and look for a file with the compilation instructions. e.g README or INSTALL or something like that). Then follow the compilation instructions making sure that you really understands each of the source configuration and compilation parameters.

Actually for Fedora you will rarelly require to directly install the rpm. It's better to install with yum as it will also install the required dependencies.

In this case if you want to install net-snmp do the following:

- Open a command console (Terminal Program) and type the following (without my comments)
# you need to be root to run YUM, so change to root

# Execute yum
yum install net-snmp
and that's it!

Last edited by rarsa; 07-23-2005 at 12:36 AM.


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
Please Demystify .src.rpm files koodoo Linux - Newbie 5 05-01-2005 04:44 PM
how to install src.rpm files? ludwig W Linux - General 4 07-18-2004 11:02 AM
Difference between src.rpm files and source.rpm files ja_nch Red Hat 2 09-06-2003 06:12 PM
How to install from .src.rpm files Baran Linux - Newbie 2 09-02-2003 09:30 AM
rpm switches for src files krumholz Linux - Software 4 06-18-2003 12:07 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:59 PM.

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
Open Source Consulting | Domain Registration