On Thu, 10 Jan 2002 20:54:57 -0600 (CST) "Jesus Ortega (a.k.a. Nitebirdz)" <[EMAIL PROTECTED]> implied:
> On Fri, 11 Jan 2002, adrian kok wrote: > > > Hi all > > > > There are many rpm eg: src.rpm, norach.rpm > > > > What are the different? > > > > How do I install it > > > > Thank you > > > > > src.rpm ------> source RPM, contains source, you need to compile (see > below) norarch.rpm --> architecture independent (it may contain > scripts, etc.) > > > In order to install from source RPM > > su - > cd /usr/src/redhat/SRPMS > mv /downloads/filename.src.rpm . > rpm -i filename.src.rpm > cd ../SPECS > rpm -bb filename.spec > cd ../RPMS/i386 > rpm -Uvh filename.i398.rpm Shorter: On RH7.0 and earlier: rpm --rebuild <filename>.src.rpm --target=<arch> rpm -Uvh /usr/src/redhat/RPMS/<arch>/<filename>.<arch>.rpm On RH7.1/72: rpmbuild --rebuild <filename>.src.rpm --target <arch> rpm -Uvh /usr/src/redhat/RPMS/<arch>/<filename>.<arch>.rpm In both cases, 'target' can be left out to build i386. Noarch will be automatically built when X86 or athlon isn't supported. Replace <arch> with i386, i486, i586, i686, athlon or noarch. -- Someone said linux should be more like windows, so i set up a cron job that made it crash every half hour. _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list