Re: How to install source rpm on centos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, Mar 13, 2011 at 7:47 AM, sync <jiannma@xxxxxxxxx> wrote:

> Thanks , The problem is solved now.
>
> I just run the following commands:
>
> root@test ~: cp -r /usr/src/redhat  /home/test/rpm
> root@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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux