User Tools

Site Tools


ubuntu:packages:linux_distribution_equivalents

Ubuntu - Packages - Linux Distribution Equivalents

Shows equivalent commands to manage packages from different Linux distributions.

UbuntuRedHat
Package file extension.deb.rpm
Repository location configuration/etc/apt/sources.list/etc/yum.conf
Check for package upgradesapt-get -s upgrade apt-get -s dist-upgradeyum check-update
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 packageapt-cache show package_nameyum info package_name
Get information about a package filedpkg –info package.debrpm -qpi package.rpm
Get information about an installed packagedpkg –status package_namerpm -qi package_name
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
Show the packages a given package depends onapt-cache depends package_namerpm -qR package_name
Show other packages that depend on a given package (reverse dependency)apt-cache rdepends package_namerpm -q –whatrequires [args]
Upgrade packagesapt-get upgraderpm -Uvh [args]
Upgrade the entire systemapt-get dist-upgradeyum upgrade
ubuntu/packages/linux_distribution_equivalents.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki