Changes

Talk:RPM Commands

855 bytes added, 01:51, 1 June 2007
rpm commands
The following lines were added (+) and removed (-):
== rpm commands ==rpm commands (§ - package must be installed already)reference: http://www.rapierbit.org/linux/howto.html    * install: rpm -i[hv] name_of_rpm.ppc.rpm    * upgrade: rpm -U[hv] name_of_rpm.ppc.rpm    * uninstall: rpm -e name_of_rpm    * get version number: rpm -q name_of_rpm    * get package info: rpm -qi name_of_rpm §    * find out which packages are installed: rpm -qa    * discover package contents: rpm -qpl name_of_rpm.ppc.rpm    * discover package dependencies: rpm -qR name_of_rpm    * find out which rpm a file goes with: rpm -qf name_of_file §    * find out which rpm provides a particular file: rpm -q --whatprovides name_of_file §    * uninstall all packages that start with this-: rpm -qa | grep "^this-" | xargs rpm -e    * uninstall all packages that contain that: rpm -qa | grep "that" | xargs rpm -e
Bureaucrat, administrator
16,192
edits