User Tools

Site Tools


packages:linux_distribution_equivalents

This is an old revision of the document!


Packages - Linux Distribution Equivalents

Shows equivalent commands to manage packages from different Linux distributions.

UbuntuRedHatSuse
Package file extension.deb.rpm
Repository location configuration/etc/apt/sources.list/etc/yum.conf
Find package that installed a filedpkg –search filenamerpm -qf filename
Find package that provides a particular fileapt-file search filenameyum provides filename
Get information about a package filedpkg –info package.debrpm -qpi package.rpm
Install a package filedpkg –install package.debrpm -i package.rpm
Install a package from a repositoryapt-get install package_nameyum install package_name
List files in a packagedpkg –listfiles package.debrpm -ql package.rpm
List files in a package filedpkg –contents package.debrpm -qpl package.rpm
List documentation files in a package file rpm -qpd package.rpm
List configuration files in a package file rpm -qpc package.rpm
Remove a packageapt-get remove package_namerpm -e package_name
Remove packages from the local cache directoryapt-get cleanyum clean packages
Remove a package with configuration filesapt-get purge package_nameyum remove package_name
Upgrade packagesapt-get upgraderpm -Uvh [args]
Upgrade the entire systemapt-get dist-upgradeyum upgrade
packages/linux_distribution_equivalents.1467709683.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki