Wednesday, 10 July 2013

MyLinuxNote3 [ rpm ]

rpm:

path: - /usr/src/redhat/rpms
rpmbuild --rebuild filename.src.rpm

. /configure
make
make check
make install

rpm -q pkgName.rpm
rpm -ivh pkgName.rpm
rpm -uvh pkgName.rpm
rpm -ivh --replacefiles pkgName.rpm
rpm -q --redhatprovides bar.so.2
rpm -ivh <pkgName> --nodeps
rpm -3 foo
rpm -uvh --oldpackage pkgName.rpm
rpm -Fvh pkgName.rpm
rpm -q foo
rpm -qa
rpm -qf /bin/ls
rpm -ql foo
rpm -vf /usr/bin/foo
rpm -Va
rpm -Vp pkgName.rpm
rpm -qdf /usr/bin/free
rpm -qlp pkgName.rpm

man rpm

No comments:

Post a Comment