Difference between revisions of "Rosetta stone for package hunting"
From lightwiki
Vsingleton (Talk | contribs) |
Vsingleton (Talk | contribs) |
||
Line 10: | Line 10: | ||
{| 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;" | ? |
− | |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" | ? |
− | |apt-get upgrade | + | | style="border: 1px solid darkgray;" title="Caption to use on mouse over" alt="Caption to use on mouse over" |apt-get upgrade |
− | |yum 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;" | ? |
− | |apt-get dist-upgrade | + | | style="border: 1px solid darkgray;" |apt-get dist-upgrade |
− | |yum update | + | | style="border: 1px solid darkgray;" |yum update |
+ | |- | ||
+ | | style="border: 1px solid darkgray;" | ? | ||
+ | | style="border: 1px solid darkgray;" |apt-cache show | ||
+ | | style="border: 1px solid darkgray;" |yum info | ||
+ | |- | ||
+ | | style="border: 1px solid darkgray;" | ? | ||
+ | | style="border: 1px solid darkgray;" |apt-cache search | ||
+ | | style="border: 1px solid darkgray;" |yum -C list | grep | ||
|} | |} | ||
Line 31: | Line 39: | ||
{| 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;" | ? | ||
+ | | style="border: 1px solid darkgray;" |dpkg | ||
+ | | style="border: 1px solid darkgray;" |rpm | ||
|- | |- | ||
− | | ? | + | | style="border: 1px solid darkgray;" title="install a package" alt="install a package" | ? |
− | |dpkg | + | | style="border: 1px solid darkgray;" title="install a package" alt="install a package" |dpkg -i |
− | |rpm | + | | 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" | ? |
− | |dpkg -L | + | | style="border: 1px solid darkgray;" title="list files in a package" alt="list files in a package" |dpkg -L |
− | |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" | ? |
− | |dpkg -l | + | | style="border: 1px solid darkgray;" title="list all installed packages" alt="list all installed packages" |dpkg -l |
− | |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" | ? |
− | |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 |
− | |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 |
|} | |} | ||
|} | |} |
Revision as of 15:54, 30 August 2011
- Hello Arch Linux, users. This page says that Arch Linux is a rolling release. Let's keep it that way.
High level package management | Lower level package management | ||||||||||||||||||||||||||||||||||||
|
|