Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: Agent007 on 11 November 2002, 00:01

Title: Questions on RPM packages..
Post by: Agent007 on 11 November 2002, 00:01
Hi all,


Can someone pls tell me as tho what is the difference between .src.rpm and .rpm file? Is it the same procedure for installing both the rpm's?

Also, I went to download the nessus RPM from here:
http://www.rpmfind.net/linux/rpm2html/search.php?query=nessus (http://www.rpmfind.net/linux/rpm2html/search.php?query=nessus)

and some results turned up.....

Under distributions the following terms showed up which I found confusing,

Freshrpms
Red Hat Contib at Bero.Org
ASPLinux
Falsehope
Linux/PPC Contribs


What do they mean? Can these RPM's be installed on RedHat?
Title: Questions on RPM packages..
Post by: voidmain on 11 November 2002, 00:35
quote:
Originally posted by Agent007:
Can someone pls tell me as tho what is the difference between .src.rpm and .rpm file? Is it the same procedure for installing both the rpm's?



*.src.rpm is the "Source Code" distribution of the RPM. The procedure for installing is different because to install a SRC RPM it needs to be compiled/built before installing. A binary RPM (*.i386.rpm, etc) is already compiled and you just install it by using "rpm -Uvh somepackage.i386.rpm". To build/install a source RPM you must have the rpmbuild packages install along with your compiler. Then you can do a:

# rpm --rebuild somepackage.src.rpm

or

# rpmbuild --rebuild somepackage.src.rpm

depending on your version of RPM, which will build the *.i386.rpm binary. You then must do the "rpm -Uvh somepackage.i386.rpm" from the binaries that you just created to install.

 
quote:

Also, I went to download the nessus RPM from here:
http://www.rpmfind.net/linux/rpm2html/search.php?query=nessus (http://www.rpmfind.net/linux/rpm2html/search.php?query=nessus)



What version of RedHat are you running? Get the ones from freshrpms.net like I said in your other thread. They *work* and are build for RedHat.