Professional Documents
Culture Documents
rpm -ivh {rpm-file} Install the package dpkg -i {.deb package} or --install Install the package
rpm F or --freshen
rpm -ev {package} Erase/remove/ an installed package dpkg -r {package} or --remove Erase/remove/ an installed package
Find out what package a file belongs to i.e. find what Find what package owns the file i.e. find
rpm -qf {/path/to/file} or --file dpkg -S {/path/to/file} or --search
package owns the file out what package does file belong
rpm -qc {pacakge-name} Display list of configuration file(s) for a package
rpm -qpl {.rpm-file} List all files of an installed RPM package or rpm file dpkg -c {.Deb package} List files provided (or owned) by the
package i.e. List all files inside debian .deb
rpm -ql {package} package file, very useful to find where files
would be installed
or --list dpkg L {package} or listfiles
Check the location of Packages installed