Click to See Complete Forum and Search --> : How to install rpm if its source rpm?


soleblazer
09-08-2003, 06:46 PM
hi.

I have the wu-imap source rpm and am wondering how to actually install it.

I ran rpm -ivh ux*.rpm and it put the stuff into /usr/src/redhat

I know it creates a spec file, but do I do something with that to install wu-imap, or do I need to do something else? I want to be able to run wu-imap, how do I actually install it?

tks!

aunger1001
09-08-2003, 06:57 PM
If you have a source rpm, just type this into your console
rpmbuild --rebuild packagename.src.rpm

It will compile the rpm into src under one of the architectures (this depends on your machine and the src). One you locate it, it will be the rpm package rebuilt for your mahcine and just install using rpm -ivh package name.

Good luck.