Difference between revisions of "Rosetta stone for package hunting"

From lightwiki
Jump to: navigation, search
m
 
(5 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 I found the moe offical [https://wiki.archlinux.org/index.php/Pacman_Rosetta Pacman Rosetta] page.
+
* I started this page before finding the more official [https://wiki.archlinux.org/index.php/Pacman_Rosetta Pacman Rosetta] page.
  
 
{|
 
{|
Line 15: Line 15:
 
|<b>Red Hat</b>
 
|<b>Red Hat</b>
 
|-
 
|-
| style="border: 1px solid darkgray;" | ?
+
| style="border: 1px solid darkgray;" |pacman
 
| style="border: 1px solid darkgray;" |apt-get
 
| style="border: 1px solid darkgray;" |apt-get
 
| style="border: 1px solid darkgray;" |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" | ?
+
| style="border: 1px solid darkgray;" title="Caption to use on mouse over" alt="Caption to use on mouse over" |pacman -Sy
| style="border: 1px solid darkgray;" title="Caption to use on mouse over" alt="Caption to use on mouse over" |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
| style="border: 1px solid darkgray;" title="Caption to use on mouse over" alt="Caption to use on mouse over" |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;" | ?
+
| style="border: 1px solid darkgray;" |pacman -Syu
 
| style="border: 1px solid darkgray;" |apt-get dist-upgrade
 
| style="border: 1px solid darkgray;" |apt-get dist-upgrade
| style="border: 1px solid darkgray;" |yum update
+
| style="border: 1px solid darkgray;" |yum upgrade
 
|-
 
|-
| style="border: 1px solid darkgray;" | ?
+
| style="border: 1px solid darkgray;" |pacman -[S|Q]i
 
| style="border: 1px solid darkgray;" |apt-cache show
 
| style="border: 1px solid darkgray;" |apt-cache show
 
| style="border: 1px solid darkgray;" |yum info
 
| style="border: 1px solid darkgray;" |yum info
 
|-
 
|-
| style="border: 1px solid darkgray;" | ?
+
| style="border: 1px solid darkgray;" |pacman -Ss
 
| style="border: 1px solid darkgray;" |apt-cache search
 
| style="border: 1px solid darkgray;" |apt-cache search
| style="border: 1px solid darkgray;" |yum -C list | grep
+
| style="border: 1px solid darkgray;" |yum search
 
|}
 
|}
  
Line 44: Line 44:
 
|<b>Red Hat</b>
 
|<b>Red Hat</b>
 
|-
 
|-
| style="border: 1px solid darkgray;" | ?
+
| style="border: 1px solid darkgray;" |pacman
 
| style="border: 1px solid darkgray;" |dpkg
 
| style="border: 1px solid darkgray;" |dpkg
 
| style="border: 1px solid darkgray;" |rpm
 
| style="border: 1px solid darkgray;" |rpm
 
|-
 
|-
| style="border: 1px solid darkgray;" title="install a package" alt="install a package" | ?
+
| style="border: 1px solid darkgray;" title="install a package" alt="install a package" |pacman -U
 
| style="border: 1px solid darkgray;" title="install a package" alt="install a package" |dpkg -i
 
| style="border: 1px solid darkgray;" title="install a package" alt="install a package" |dpkg -i
 
| style="border: 1px solid darkgray;" title="install a package" alt="install a package" |rpm -i
 
| 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" | ?
+
| style="border: 1px solid darkgray;" title="list files in a package" alt="list files in a package" |pacman -Ql
 
| style="border: 1px solid darkgray;" title="list files in a package" alt="list files in a package" |dpkg -L
 
| style="border: 1px solid darkgray;" title="list files in a package" alt="list files in a package" |dpkg -L
 
| 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 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" | ?
+
| style="border: 1px solid darkgray;" title="list all installed packages" alt="list all installed packages" |pacman -Q
 
| style="border: 1px solid darkgray;" title="list all installed packages" alt="list all installed packages" |dpkg -l  
 
| style="border: 1px solid darkgray;" title="list all installed packages" alt="list all installed packages" |dpkg -l  
 
| style="border: 1px solid darkgray;" title="list all installed packages" alt="list all installed packages" |rpm -ql
 
| 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" | ?
+
| 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" |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
 
| 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
Line 66: Line 66:
  
 
|}
 
|}
 +
 +
* [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