Difference between revisions of "Rosetta stone for package hunting"

From lightwiki
Jump to: navigation, search
m
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
* Hello Arch Linux, users.  [http://en.wikipedia.org/wiki/Rolling_release This page] says that Arch Linux is a rolling release.  Let's keep it that way.
 
* Hello Arch Linux, users.  [http://en.wikipedia.org/wiki/Rolling_release This page] says that Arch Linux is a rolling release.  Let's keep it that way.
 +
* I started this page before finding the more official [https://wiki.archlinux.org/index.php/Pacman_Rosetta Pacman Rosetta] page.
  
 
{|
 
{|
Line 10: Line 11:
 
{| style="border: 1px solid darkgray;"
 
{| style="border: 1px solid darkgray;"
 
|-
 
|-
|Arch
+
|<b>Arch</b>
|Debian
+
|<b>Debian</b>
|Red Hat
+
|<b>Red Hat</b>
 
|-
 
|-
| ?
+
| style="border: 1px solid darkgray;" |pacman
|apt-get
+
| style="border: 1px solid darkgray;" |apt-get
|yum
+
| style="border: 1px solid darkgray;" |yum
 
|-
 
|-
| ?
+
| style="border: 1px solid darkgray;" title="Caption to use on mouse over" alt="Caption to use on mouse over" |pacman -Sy
|apt-get upgrade
+
| style="border: 1px solid darkgray;" title="Caption to use on mouse over" alt="Caption to use on mouse over" |apt-get update
|yum update
+
| style="border: 1px solid darkgray;" title="Caption to use on mouse over" alt="Caption to use on mouse over" |yum check-update
 
|-
 
|-
| ?
+
| style="border: 1px solid darkgray;" |pacman -Syu
|apt-get dist-upgrade
+
| style="border: 1px solid darkgray;" |apt-get dist-upgrade
|yum update
+
| style="border: 1px solid darkgray;" |yum upgrade
 +
|-
 +
| style="border: 1px solid darkgray;" |pacman -[S|Q]i
 +
| style="border: 1px solid darkgray;" |apt-cache show
 +
| style="border: 1px solid darkgray;" |yum info
 +
|-
 +
| style="border: 1px solid darkgray;" |pacman -Ss
 +
| style="border: 1px solid darkgray;" |apt-cache search
 +
| style="border: 1px solid darkgray;" |yum search
 
|}
 
|}
  
Line 31: Line 40:
 
{| cellpadding="2" style="border: 1px solid darkgray;"
 
{| cellpadding="2" style="border: 1px solid darkgray;"
 
|-
 
|-
|Arch
+
|<b>Arch</b>
|Debian
+
|<b>Debian</b>
|Red Hat
+
|<b>Red Hat</b>
 
|-
 
|-
| ?
+
| style="border: 1px solid darkgray;" |pacman
|dpkg
+
| style="border: 1px solid darkgray;" |dpkg
|rpm
+
| style="border: 1px solid darkgray;" |rpm
 
|-
 
|-
| ?
+
| style="border: 1px solid darkgray;" title="install a package" alt="install a package" |pacman -U
|dpkg -L
+
| style="border: 1px solid darkgray;" title="install a package" alt="install a package" |dpkg -i
|rpm -qa
+
| style="border: 1px solid darkgray;" title="install a package" alt="install a package" |rpm -i
 
|-
 
|-
| ?
+
| style="border: 1px solid darkgray;" title="list files in a package" alt="list files in a package" |pacman -Ql
|dpkg -l
+
| style="border: 1px solid darkgray;" title="list files in a package" alt="list files in a package" |dpkg -L
|rpm -ql
+
| style="border: 1px solid darkgray;" title="list files in a package" alt="list files in a package" |rpm -qa
 
|-
 
|-
| ?
+
| style="border: 1px solid darkgray;" title="list all installed packages" alt="list all installed packages" |pacman -Q
|dpkg -S
+
| style="border: 1px solid darkgray;" title="list all installed packages" alt="list all installed packages" |dpkg -l
|rpm -qf
+
| style="border: 1px solid darkgray;" title="list all installed packages" alt="list all installed packages" |rpm -ql
 +
|-
 +
| style="border: 1px solid darkgray;" title="show the package that installed the given file" alt="show the package that installed the given file" |pacman -Qo
 +
| style="border: 1px solid darkgray;" title="show the package that installed the given file" alt="show the package that installed the given file" |dpkg -S
 +
| style="border: 1px solid darkgray;" title="show the package that installed the given file" alt="show the package that installed the given file" |rpm -qf
 
|}
 
|}
  
 
|}
 
|}
 +
 +
* [https://wiki.archlinux.org/title/Pacman/Rosetta - Pacman Rosetta]

Latest revision as of 16:32, 28 October 2021

  • Hello Arch Linux, users. This page says that Arch Linux is a rolling release. Let's keep it that way.
  • I started this page before finding the more official Pacman Rosetta page.
High level package management Lower level package management
Arch Debian Red Hat
pacman apt-get yum
pacman -Sy apt-get update yum check-update
pacman -Syu apt-get dist-upgrade yum upgrade
pacman -[S|Q]i apt-cache show yum info
pacman -Ss apt-cache search yum search
Arch Debian Red Hat
pacman dpkg rpm
pacman -U dpkg -i rpm -i
pacman -Ql dpkg -L rpm -qa
pacman -Q dpkg -l rpm -ql
pacman -Qo dpkg -S rpm -qf