head -n1 /etc/issue
CentOS release 6.4 (Final)
yum install make gcc rpmbuild git gettext
cd /usr/local/src/
git clone http://checkinstall.izto.org/checkinstall.git
cd checkinstall/
make
make install
mkdir -p ~/rpmbuild/SOURCES
ln -s /usr/local/lib/installwatch.so /usr/lcal/lib64/installwatch.so
checkinstall -R --fstrans=no --backup=yes --install=no make install
rpm -ivh /root/rpmbuild/RPMS/x86_64/checkinstall-20130503-1.x86_64.rpm
rpm -qi checkinstall
Name : checkinstall Relocations: (not relocatable)
Version : 20130503 Vendor: (none)
Release : 1 Build Date: 2013年05月03日 21時45分11秒
Install Date: 2013年05月03日 21時50分17秒 Build Host: CentOS6_x86_64
Group : Applications/System Source RPM: checkinstall-20130503-1.src.rpm
Size : 396026 License: GPL
Signature : (none)
Packager : checkinstall-1.6.3
Summary : CheckInstall installations tracker, version 1.6.2
Description :
CheckInstall installations tracker, version 1.6.2