If you want to compile your own applications, rebuilding a .src.rpm is the 
safest way to do it. The packager will have selected the optimal compilation 
options, and you will get menu entries etc. Even more importantly, it is 
easier to *uninstall* an application you compiled from a .src.rpm than it is 
to uninstall one compiled by hand.
To compile a src RPM
rpm --rebuild rpm_name.src.rpm
Note : you will need all the compilation tools and libraries the application 
needs or else the rebuild will fail. When it is finished you will find it has 
built an RPM file located in /usr/src/RPM/RPMS/i586  You then install this 
RPM in the normal way.

A .noarch.rpm is simply one which is not compiled code. It is either text 
files, or else it is perl scripts or something similar. It can be installed 
in the normal way.

NOTE
A word of caution about RPMS you find on RPMfind.net.  
You will find RPMs there which come either from the Mandrake CD's, or from the 
'Contribs' folder on Mandrake mirrors, or from 'Mandrake Cooker'
Be VERY cautious about attempting to install 'Cooker' RPMs.  These are from 
the development thread of Mandrake. Not only is there the risk they may be 
buggy, but installing one could require a LOT of dependencies. Installing 
Cooker RPMs is a good way to get to 'dependency hell'  For a similar reason 
RedHat RPMs should only be used with caution.

BTW: There is nothing you will find on rpmfind.net you could not get through 
urpmi.  By simply setting up a few data sources you could get anything on 
rpmfind plus more. You would search using Mandrake Software Manager or the 
urpmi command line. The big advantage is that all your dependency issues will 
be sorted out for you. 
http://www.mail-archive.com/[email protected]/msg108964.html

HTH

derek


On Friday 13 Dec 2002 2:45 am, Andrei Raevsky wrote:
> Hi,
>
> On the website rpmfind.net there are RPMs which are *.noarc.mdk or
> *src.mdk. How are these different from other mandrake RPMs?
>
> And also - can I install Red Hat RPMs (non mdk.rpms) safely or not?
>
> Thanks,
>
> Andrei
>
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to