Author Topic: Questions on RPM packages..  (Read 412 times)

Agent007

  • Member
  • **
  • Posts: 120
  • Kudos: 0
Questions on RPM packages..
« 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

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?
AMD Athlon processor
256MB SDRAM
Linux Distro - RedHat 9.0

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Questions on RPM packages..
« Reply #1 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



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.
Someone please remove this account. Thanks...