Home » Commands

Useful commands

apt-cache

apt-get

apt-file

dpkg

dpkg vs. rpm


dpkgrpminfo
dpkg -lrpm -qaList all installed packages
dpkg -L packagerpm -ql packageList all files in a installed package
dpkg -i file.debrpm -i file.rpmInstall package from a file
dpkg -i file.debrpm -U file.rpmUpgrade package from a file
dpkg -r packagerpm -e packageRemove installed package
dpkg -l file.deb rpm -qpi file.rpmShow information about package
dpkg -c file.deb rpm -qpl file.rpmList files in a package
dpkg -p package rpm -qi packageShow information about a installed package