Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: fuckoffmicrosoft on 25 September 2002, 22:22

Title: the difference between rpm and srpm
Post by: fuckoffmicrosoft on 25 September 2002, 22:22
im usin redhat 7.3
Title: the difference between rpm and srpm
Post by: voidmain on 25 September 2002, 22:34
SRPM or src.rpm means "source rpm".  A source RPM is an RPM that contains the source code for the package and spec file used to create the binary (RPM or i386.rpm) RPM.  If you do an:

# rpm --rebuild somepackage.src.rpm

it will build the binary RPM(s) and install those freshly built RPM(s) into your system. somepackage-x.x.i386.rpm tells you the RPM package name, the version, that it is a binary build for an x86 processor and can only be installed and run on a system with that processor type.  SRPMs are not processor specific/dependant as they have to be built/compiled before being installed.

[ September 25, 2002: Message edited by: void main ]

Title: the difference between rpm and srpm
Post by: Calum on 26 September 2002, 01:12
so srpms are those files with .src.rpm at the end?

presumably it would be far better (more stable * likely to build properly et c) to do the above using a source rpm than to install a binary?

Also, what happens if you just rpm -Uvh'' a .src.rpm file?
Title: the difference between rpm and srpm
Post by: Master of Reality on 26 September 2002, 01:30
it will put the source somewhere in /usr/src for you to use.
Title: the difference between rpm and srpm
Post by: fuckoffmicrosoft on 26 September 2002, 02:07
ok so i tried redhat for server but i dont really like the interface either

next question can mandrake use redhat rpm or just mandrake rpm?
Title: the difference between rpm and srpm
Post by: voidmain on 26 September 2002, 05:37
I assume by "interface" you mean "graphical interface" or GUI such as KDE/Gnome/etc. If so you shouldn't care about the interface if you are using it as a server. No need to ever see the interface. Typically you don't even run X on a "server".  You might download and install webmin as that it the best interface for server management for n00bs. Regardless if you are running RedHat or many other OSs, webmin is the same across all OSs.

[ September 25, 2002: Message edited by: void main ]

Title: the difference between rpm and srpm
Post by: fuckoffmicrosoft on 26 September 2002, 07:26
ok back to redhat   :D  now the other 2 discs i downloaded wth are they fot the rpm discs is that the applications?

also a good open source web host control panel?
Title: the difference between rpm and srpm
Post by: fuckoffmicrosoft on 26 September 2002, 07:27
quote:
Originally posted by void main:
I assume by "interface" you mean "graphical interface" or GUI such as KDE/Gnome/etc. If so you shouldn't care about the interface if you are using it as a server. No need to ever see the interface. Typically you don't even run X on a "server".  You might download and install webmin as that it the best interface for server management for n00bs. Regardless if you are running RedHat or many other OSs, webmin is the same across all OSs.

im just using gui for main setup

[ September 25, 2002: Message edited by: void main ]

Title: the difference between rpm and srpm
Post by: voidmain on 26 September 2002, 07:35
quote:
Originally posted by fuckoffmicrosoft:
ok back to redhat    :D   now the other 2 discs i downloaded wth are they fot the rpm discs is that the applications?

also a good open source web host control panel?



All 3 disks are for RedHat installation in general. The good open source web host control panel you are asking for I mentioned in the message above. It's called "webmin" and you can get the RPM from http://www.webmin.com/ (http://www.webmin.com/)

Once you download and install it you should from any of your computers on your network enter http://xxx.xxx.xxx.xxx:10000 (http://xxx.xxx.xxx.xxx:10000) in your browser where xxx.xxx.xxx.xxx is the IP address of your server.  It will prompt you for a login ID and password. Enter "root" and whatever you set the root password to.
Title: the difference between rpm and srpm
Post by: voidmain on 26 September 2002, 07:45
quote:
Originally posted by Calum:
so srpms are those files with .src.rpm at the end?



Yes.

 
quote:

presumably it would be far better (more stable * likely to build properly et c) to do the above using a source rpm than to install a binary?



Not necessarily.  Theoretically you would end up with the same *.rpm binary that would be available for download (assuming you downloaded the *correct* binary for your system).  It does take some of the thinking out of it as it will determine what system you are running on and build the appropriate binary RPM for your system.  It does take longer obviously, especially on larger packages depending on the speed of your system.

 
quote:

Also, what happens if you just rpm -Uvh'' a .src.rpm file?



If you are on RedHat it will put the *.tar.gz source file in the /usr/src/redhat/SOURCES directory and put the spec file in the /usr/src/redhat/SPECS directory. You can then use the "rpm" command on the spec file and perform any part or all of the build and install process. See "man rpm" it's pretty well detailed there.
Title: the difference between rpm and srpm
Post by: sporkme on 26 September 2002, 10:33
describe specifically the problem you are encountering.

unlike windows, linux has many faces -- that is, with your red hat, you boot, then you choose a GRAPHICAL USER INTERFACE and let it be for a few months, then reboot, etc...

if you are having difficulty with kde or gnome or whatever you are using, check that you have the latest release, and then jack with it til it looks pretty and plays nice.

there is little to say... you have in your hands the best thing since slices smurfs