User Tools

Site Tools


packages:linux_distribution_equivalents

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
packages:linux_distribution_equivalents [2016/07/05 09:13] peterpackages:linux_distribution_equivalents [2019/12/01 11:56] (current) – removed peter
Line 1: Line 1:
-====== Packages - Linux Distribution Equivalents ====== 
  
-Shows equivalent commands to manage packages from different Linux distributions. 
- 
- 
-^ ^Ubuntu^RedHat^Suse^ 
-|Package file extension|.deb|.rpm| | 
-|Repository location configuration|/etc/apt/sources.list|/etc/yum.conf| | 
-|Check for package upgrades|apt-get -s upgrade apt-get -s dist-upgrade|yum check-update| | 
-|Find package that installed a file|dpkg --search filename|rpm -qf filename| | 
-|Find package that provides a particular file|apt-file search filename|yum provides filename| | 
-|Get information about a package|apt-cache show package_name|yum info package_name| | 
-|Get information about a package file|dpkg --info package.deb|rpm -qpi package.rpm| | 
-|Get information about an installed package|dpkg --status package_name|rpm -qi package_name| | 
-|Install a package file|dpkg --install package.deb|rpm -i package.rpm| | 
-|Install a package from a repository|apt-get install package_name|yum install package_name| | 
-|List files in a package|dpkg --listfiles package.deb|rpm -ql package.rpm| | 
-|List files in a package file|dpkg --contents package.deb|rpm -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 package|apt-get remove package_name|rpm -e package_name| | 
-|Remove packages from the local cache directory|apt-get clean|yum clean packages| | 
-|Remove a package with configuration files|apt-get purge package_name|yum remove package_name| | 
-|Show the packages a given package depends on|apt-cache depends package_name|rpm -qR package_name| | 
-|Show other packages that depend on a given package (reverse dependency)|apt-cache rdepends|rpm -q --whatrequires [args]| | 
-|Upgrade packages|apt-get upgrade|rpm -Uvh [args]| | 
-|Upgrade the entire system|apt-get dist-upgrade|yum upgrade| | 
packages/linux_distribution_equivalents.1467710014.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki