To install a RPM package, use the command:
[root@deep] /#rpm -ivh foo-1.0-2.i386.rpm
To uninstall a RPM package, use the command:
[root@deep] /#rpm -e foo
To upgrade a RPM package, use the command:
[root@deep] /#rpm -Uvh foo-1.0-2.i386.rpm
To query a RPM package, use the command:
[root@deep] /#rpm -q foo
To display package information, use the command:
[root@deep] /#rpm -qi foo
To list files in package, use the command:
[root@deep] /#rpm -qlfoo
To check a RPM signature package, use the command:
[root@deep] /#rpm --checksig foo
This command checks to determine which installed package a particular file belongs t
rpm -qf /usr/bin/mysql
This command will list all files that do NOT pass
the verify tests (done on size, MD5 signature, etc).
rpm --verify mysql

No comments:
Post a Comment