[CentOS] How to install source rpm on centos
Akemi Yagi
amyagi at gmail.com
Sun Mar 13 15:51:22 UTC 2011
On Sun, Mar 13, 2011 at 7:47 AM, sync <jiannma at gmail.com> wrote:
> Thanks , The problem is solved now.
>
> I just run the following commands:
>
> root at test ~: cp -r /usr/src/redhat /home/test/rpm
> root at test ~: rpmbuild --rebuild pssh-1.2.2-1.rf.src.rpm
>
>
> Then enter the rpm directory will find the xxx.rpm package, then run "rpm
> -ivh xx.rpm".
For future searchers, the details instructions are in the CentOS wiki:
http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
then follow:
http://wiki.centos.org/HowTos/RebuildSRPM
Akemi
More information about the CentOS
mailing list