centos下procps源码包获取方法

1.网上获取src.rpm源码包

wget http://vault.centos.org/6.2/os/Source/SPackages/procps-3.2.8-21.el6.src.rpm


2.转为tar压缩包

rpm2cpio procps-3.2.8-21.el6.src.rpm | cpio -id *.tar.gz


3.解压缩

tar zxvf procps-3.2.8.tar.gz

你可能感兴趣的:(centos下procps源码包获取方法)