{"id":111,"date":"2022-07-15T14:08:24","date_gmt":"2022-07-15T14:08:24","guid":{"rendered":"https:\/\/brainlessideas.com\/?p=111"},"modified":"2022-07-15T14:20:00","modified_gmt":"2022-07-15T14:20:00","slug":"linux-update-cheatsheet","status":"publish","type":"post","link":"https:\/\/brainlessideas.com\/index.php\/2022\/07\/15\/linux-update-cheatsheet\/","title":{"rendered":"Linux Update Cheatsheet"},"content":{"rendered":"\n<p>DistroWatch offers a very nice cheatsheet on what basic commands the different flavors of linux use.&nbsp; We&#8217;re talking the apt-get\/yum\/zypper stuff.<\/p>\n\n\n\n<p>Source: <em><a href=\"https:\/\/distrowatch.com\/weekly.php?issue=20081013#feature\">DistroWatch.com: Put the fun back into computing. Use Linux, BSD.<\/a><\/em><\/p>\n\n\n\n<!--more-->\n\n\n<p>The first table lists package management tasks in the four most popular distribution groups &#8211; <a href=\"https:\/\/distrowatch.com\/debian\">Debian<\/a> (including <a href=\"https:\/\/distrowatch.com\/ubuntu\">Ubuntu<\/a>, Linux <a href=\"https:\/\/distrowatch.com\/mint\">Mint<\/a>, <a href=\"https:\/\/distrowatch.com\/knoppix\">KNOPPIX<\/a>, <a href=\"https:\/\/distrowatch.com\/sidux\">sidux<\/a> and other Debian derivatives), <a href=\"https:\/\/distrowatch.com\/suse\">openSUSE<\/a>, <a href=\"https:\/\/distrowatch.com\/fedora\">Fedora<\/a> (including <a href=\"https:\/\/distrowatch.com\/redhat\">Red Hat<\/a> Enterprise Linux, <a href=\"https:\/\/distrowatch.com\/centos\">CentOS<\/a>, <a href=\"https:\/\/distrowatch.com\/scientific\">Scientific<\/a> Linux and other Fedora-based distributions), and <a href=\"https:\/\/distrowatch.com\/mandriva\">Mandriva<\/a> Linux.<\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n<tbody>\n<tr>\n<td>\n<table class=\"News\">\n<tbody>\n<tr>\n<th class=\"Invert\">Task<\/th>\n<th class=\"Invert\">apt (deb)<br \/>Debian, Ubuntu<\/th>\n<th class=\"Invert\">zypp (rpm)<br \/>openSUSE<\/th>\n<th class=\"Invert\">yum (rpm)<br \/>Fedora, CentOS<\/th>\n<th class=\"Invert\">urpmi (rpm)<br \/>Mandriva<\/th>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Managing software<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Install new software from package repository<\/td>\n<td class=\"News\">apt-get install <i>pkg<\/i><\/td>\n<td class=\"News\">zypper install <i>pkg<\/i><\/td>\n<td class=\"News\">yum install <i>pkg<\/i><\/td>\n<td class=\"News\">urpmi <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Install new software from package file<\/td>\n<td class=\"News\">dpkg -i <i>pkg<\/i><\/td>\n<td class=\"News\">zypper install <i>pkg<\/i><\/td>\n<td class=\"News\">yum localinstall <i>pkg<\/i><\/td>\n<td class=\"News\">urpmi <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Update existing software<\/td>\n<td class=\"News\">apt-get install <i>pkg<\/i><\/td>\n<td class=\"News\">zypper update -t package <i>pkg<\/i><\/td>\n<td class=\"News\">yum update <i>pkg<\/i><\/td>\n<td class=\"News\">urpmi <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Remove unwanted software<\/td>\n<td class=\"News\">apt-get remove <i>pkg<\/i><\/td>\n<td class=\"News\">zypper remove <i>pkg<\/i><\/td>\n<td class=\"News\">yum erase <i>pkg<\/i><\/td>\n<td class=\"News\">urpme <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Updating the system<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Update package list<\/td>\n<td class=\"News\">apt-get update<\/td>\n<td class=\"News\">zypper refresh<\/td>\n<td class=\"News\">yum check-update<\/td>\n<td class=\"News\">urpmi.update -a<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Update system<\/td>\n<td class=\"News\">apt-get upgrade<\/td>\n<td class=\"News\">zypper update<\/td>\n<td class=\"News\">yum update<\/td>\n<td class=\"News\">urpmi &#8211;auto-select<\/td>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Searching for packages<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Search by package name<\/td>\n<td class=\"News\">apt-cache search <i>pkg<\/i><\/td>\n<td class=\"News\">zypper search <i>pkg<\/i><\/td>\n<td class=\"News\">yum list <i>pkg<\/i><\/td>\n<td class=\"News\">urpmq <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Search by pattern<\/td>\n<td class=\"News\">apt-cache search <i>pattern<\/i><\/td>\n<td class=\"News\">zypper search -t pattern <i>pattern<\/i><\/td>\n<td class=\"News\">yum search <i>pattern<\/i><\/td>\n<td class=\"News\">urpmq &#8211;fuzzy <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Search by file name<\/td>\n<td class=\"News\">apt-file search <i>path<\/i><\/td>\n<td class=\"News\">zypper wp <i>file<\/i><\/td>\n<td class=\"News\">yum provides <i>file<\/i><\/td>\n<td class=\"News\">urpmf <i>file<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">List installed packages<\/td>\n<td class=\"News\">dpkg -l<\/td>\n<td class=\"News\">zypper search -is<\/td>\n<td class=\"News\">rpm -qa<\/td>\n<td class=\"News\">rpm -qa<\/td>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Configuring access to software repositories<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">List repositories<\/td>\n<td class=\"News\">cat \/etc\/apt\/sources.list<\/td>\n<td class=\"News\">zypper repos<\/td>\n<td class=\"News\">yum repolist<\/td>\n<td class=\"News\">urpmq &#8211;list-media<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Add repository<\/td>\n<td class=\"News\">(edit \/etc\/apt\/sources.list)<\/td>\n<td class=\"News\">zypper addrepo <i>path<\/i> <i>name<\/i><\/td>\n<td class=\"News\">(add <i>repo<\/i> to \/etc\/yum.repos.d\/)<\/td>\n<td class=\"News\">urpmi.addmedia <i>name<\/i> <i>path<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Remove repository<\/td>\n<td class=\"News\">(edit \/etc\/apt\/sources.list)<\/td>\n<td class=\"News\">zypper removerepo <i>name<\/i><\/td>\n<td class=\"News\">(remove <i>repo<\/i> from \/etc\/yum.repos.d\/)<\/td>\n<td class=\"News\">urpmi.removemedia <i>media<\/i><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The second table lists package management utilities found in <a href=\"https:\/\/distrowatch.com\/slackware\">Slackware<\/a> Linux and other Slackware-based distributions. As stated by Patrick Volkerding on several occasions, Slackware is unlikely to ever have any advanced (i.e. dependency-resolving) package management tool, so all installation, upgrade and removal tasks continue to be performed with <i>pkgtools<\/i>, a set of very simple scripts that haven&#8217;t changed much in years. Nevertheless, Slackware&#8217;s unsupported <a href=\"ftp:\/\/ftp.slackware.com\/pub\/slackware\/slackware-current\/extra\/\">extra repository<\/a> (available also on the installation DVD) does include <i>slackpk<\/i>g, a third-party package management tool that can be used for a more automated way of installing software on Slackware Linux. It&#8217;s worth noting that some popular Slackware derivatives, such as <a href=\"https:\/\/distrowatch.com\/vector\">VectorLinux<\/a>, have standardised on <i>slapt-get<\/i>, another third-party utility imitating the behaviour of Debian&#8217;s APT.<\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n<tbody>\n<tr>\n<td>\n<table class=\"News\">\n<tbody>\n<tr>\n<th class=\"Invert\">Task<\/th>\n<th class=\"Invert\">pkgtools<br \/>Slackware<\/th>\n<th class=\"Invert\">slackpkg<br \/>Slackware<\/th>\n<th class=\"Invert\">slapt-get<br \/>Vector<\/th>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Managing software<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Install new software from package repository<\/td>\n<td class=\"News\">&#8212;<\/td>\n<td class=\"News\">slackpkg install <i>pkg<\/i><\/td>\n<td class=\"News\">slapt-get &#8211;install <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Install new software from package file<\/td>\n<td class=\"News\">installpkg <i>pkg<\/i><\/td>\n<td class=\"News\">slackpkg install <i>pkg<\/i><\/td>\n<td class=\"News\">slapt-get &#8211;install <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Update existing software<\/td>\n<td class=\"News\">upgradepkg <i>pkg<\/i><\/td>\n<td class=\"News\">slackpkg install <i>pkg<\/i><\/td>\n<td class=\"News\">slapt-get &#8211;install <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Remove unwanted software<\/td>\n<td class=\"News\">removepkg <i>pkg<\/i><\/td>\n<td class=\"News\">slackpkg remove <i>pkg<\/i><\/td>\n<td class=\"News\">slapt-get &#8211;remove <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Updating the system<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Update package list<\/td>\n<td class=\"News\">&#8212;<\/td>\n<td class=\"News\">slackpkg update<\/td>\n<td class=\"News\">slapt-get &#8211;update<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Update system<\/td>\n<td class=\"News\">&#8212;<\/td>\n<td class=\"News\">slackpkg upgrade-all<\/td>\n<td class=\"News\">slapt-get &#8211;upgrade<\/td>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Searching for packages<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Search by package name<\/td>\n<td class=\"News\">&#8212;<\/td>\n<td class=\"News\">slackpkg search <i>pkg<\/i><\/td>\n<td class=\"News\">slapt-get &#8211;search <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Search by pattern<\/td>\n<td class=\"News\">&#8212;<\/td>\n<td class=\"News\">slackpkg search <i>pattern<\/i><\/td>\n<td class=\"News\">slapt-get &#8211;search <i>pattern<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Search by file name<\/td>\n<td class=\"News\">&#8212;<\/td>\n<td class=\"News\">&#8212;<\/td>\n<td class=\"News\">&#8212;<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">List installed packages<\/td>\n<td class=\"News\">ls \/var\/log\/packages\/<\/td>\n<td class=\"News\">ls \/var\/log\/packages\/<\/td>\n<td class=\"News\">slapt-get &#8211;installed<\/td>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Configuring access to software repositories<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">List repositories<\/td>\n<td class=\"News\">&#8212;<\/td>\n<td class=\"News\">cat \/etc\/slackpkg\/mirrors<\/td>\n<td class=\"News\">cat \/etc\/slapt-get\/slapt-getrc<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Add repository<\/td>\n<td class=\"News\">&#8212;<\/td>\n<td class=\"News\">(edit \/etc\/slackpkg\/mirrors)<\/td>\n<td class=\"News\">(edit \/etc\/slapt-get\/slapt-getrc)<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Remove repository<\/td>\n<td class=\"News\">&#8212;<\/td>\n<td class=\"News\">(edit \/etc\/slackpkg\/mirrors)<\/td>\n<td class=\"News\">(edit \/etc\/slapt-get\/slapt-getrc)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>In the next group we have a few (mostly) independent distributions that have been gaining popularity in recent years. <a href=\"https:\/\/distrowatch.com\/sabayon\">Sabayon<\/a> Linux, although derived from Gentoo, has introduced its own command-line package management utility called <i>equo<\/i>. <a href=\"https:\/\/distrowatch.com\/arch\">Arch<\/a> Linux&#8217;s <i>Pacman<\/i> has been around for a long time and it&#8217;s often considered one of the fastest package management utilities around. <i>Conary<\/i>, developed by <a href=\"https:\/\/distrowatch.com\/rpath\">rPath<\/a> and popularised by <a href=\"https:\/\/distrowatch.com\/foresight\">Foresight<\/a> Linux, is a completely new approach to package management, created by well-known ex-Red Hat engineers with many years of package management experience. In contrast, <i>PiSi<\/i> by <a href=\"https:\/\/distrowatch.com\/pardus\">Pardus<\/a> Linux is a relatively new utility, but the distribution itself has been growing fast in the last couple of years.<\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n<tbody>\n<tr>\n<td>\n<table class=\"News\">\n<tbody>\n<tr>\n<th class=\"Invert\">Task<\/th>\n<th class=\"Invert\">equo<br \/>Sabayon<\/th>\n<th class=\"Invert\">pacman<br \/>Arch<\/th>\n<th class=\"Invert\">conary<br \/>rPath, Foresight<\/th>\n<th class=\"Invert\">pisi<br \/>Pardus<\/th>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Managing software<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Install new software from package repository<\/td>\n<td class=\"News\">equo install <i>pkg<\/i><\/td>\n<td class=\"News\">pacman -S <i>pkg<\/i><\/td>\n<td class=\"News\">conary update <i>pkg<\/i><\/td>\n<td class=\"News\">pisi install <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Install new software from package file<\/td>\n<td class=\"News\">equo install <i>pkg<\/i><\/td>\n<td class=\"News\">pacman -U <i>pkg<\/i><\/td>\n<td class=\"News\">conary update <i>pkg<\/i><\/td>\n<td class=\"News\">pisi install <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Update existing software<\/td>\n<td class=\"News\">equo install <i>pkg<\/i><\/td>\n<td class=\"News\">pacman -S <i>pkg<\/i><\/td>\n<td class=\"News\">conary update <i>pkg<\/i><\/td>\n<td class=\"News\">pisi install <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Remove unwanted software<\/td>\n<td class=\"News\">equo remove <i>pkg<\/i><\/td>\n<td class=\"News\">pacman -R <i>pkg<\/i><\/td>\n<td class=\"News\">conary erase <i>pkg<\/i><\/td>\n<td class=\"News\">pisi remove <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Updating the system<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Update package list<\/td>\n<td class=\"News\">equo update<\/td>\n<td class=\"News\">pacman -Sy<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">pisi update-repo<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Update system<\/td>\n<td class=\"News\">equo world<\/td>\n<td class=\"News\">pacman -Su<\/td>\n<td class=\"News\">conary updateall<\/td>\n<td class=\"News\">pisi upgrade<\/td>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Searching for packages<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Search by package name<\/td>\n<td class=\"News\">equo match <i>pkg<\/i><\/td>\n<td class=\"News\">pacman -Ss <i>pkg<\/i><\/td>\n<td class=\"News\">conary query <i>pkg<\/i><\/td>\n<td class=\"News\">pisi search <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Search by pattern<\/td>\n<td class=\"News\">equo search <i>pattern<\/i><\/td>\n<td class=\"News\">pacman -Ss <i>pattern<\/i><\/td>\n<td class=\"News\">conary query <i>pkg<\/i><\/td>\n<td class=\"News\">pisi search <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Search by file name<\/td>\n<td class=\"News\">equo belongs <i>file<\/i><\/td>\n<td class=\"News\">pacman -Qo <i>file<\/i><\/td>\n<td class=\"News\">conary query &#8211;path <i>path<\/i><\/td>\n<td class=\"News\">pisi search-file <i>path<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">List installed packages<\/td>\n<td class=\"News\">equo list<\/td>\n<td class=\"News\">pacman -Q<\/td>\n<td class=\"News\">conary query<\/td>\n<td class=\"News\">pisi list-installed<\/td>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Configuring access to software repositories<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">List repositories<\/td>\n<td class=\"News\">equo repoinfo<\/td>\n<td class=\"News\">cat \/etc\/pacman.conf<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">pisi list-repo<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Add repository<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">(edit \/etc\/pacman.conf)<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">pisi add-repo <i>name<\/i> <i>path<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Remove repository<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">(edit \/etc\/pacman.conf)<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">pisi remove-repo <i>name<\/i><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Besides standard package management utilities that most distributions use as part of their systems, there are also some distro-agnostic ones that have been deployed with various levels of success in certain distributions. <i>Smart<\/i>, originally developed by Conectiva, hasn&#8217;t been in the news lately, but some users seem to prefer it over Mandriva&#8217;s <i>urpmi<\/i> or openSUSE&#8217;s <i>zypper<\/i> (it also supports Debian and Slackware-based systems). More recently it is Fedora&#8217;s PackageKit that has been gaining momentum as a way to manage packages across distributions and architectures. Now included in many other distributions, PackageKit&#8217;s <i>pkgcon<\/i> command-line utility is effectively a unified front-end to the native package management tools of Fedora, Ubuntu, openSUSE, Mandriva and other distributions.<\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n<tbody>\n<tr>\n<td>\n<table class=\"News\">\n<tbody>\n<tr>\n<th class=\"Invert\">Task<\/th>\n<th class=\"Invert\">smart<br \/>Mandriva, openSUSE<\/th>\n<th class=\"Invert\">pkgcon<br \/>Fedora, Ubuntu, openSUSE, Mandriva<\/th>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Managing software<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Install new software from package repository<\/td>\n<td class=\"News\">smart install <i>pkg<\/i><\/td>\n<td class=\"News\">pkcon install <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Install new software from package file<\/td>\n<td class=\"News\">smart install <i>pkg<\/i><\/td>\n<td class=\"News\">pkcon install-file <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Update existing software<\/td>\n<td class=\"News\">smart install <i>pkg<\/i><\/td>\n<td class=\"News\">pkcon update <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Remove unwanted software<\/td>\n<td class=\"News\">smart remove <i>pkg<\/i><\/td>\n<td class=\"News\">pkcon remove <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Updating the system<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Update package list<\/td>\n<td class=\"News\">smart update<\/td>\n<td class=\"News\">pkcon refresh<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Update system<\/td>\n<td class=\"News\">smart upgrade<\/td>\n<td class=\"News\">pkcon upgrade<\/td>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Searching for packages<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Search by package name<\/td>\n<td class=\"News\">smart search <i>pkg<\/i><\/td>\n<td class=\"News\">pkcon search name <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Search by pattern<\/td>\n<td class=\"News\">smart search <i>pattern<\/i><\/td>\n<td class=\"News\">pkcon search details <i>pattern<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Search by file name<\/td>\n<td class=\"News\">smart query <i>file<\/i><\/td>\n<td class=\"News\">pkcon what-provides <i>file<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">List installed packages<\/td>\n<td class=\"News\">smart query &#8211;installed<\/td>\n<td class=\"News\">&#8212;<\/td>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Configuring access to software repositories<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">List repositories<\/td>\n<td class=\"News\">smart channel &#8211;show<\/td>\n<td class=\"News\">pkcon repo-list<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Add repository<\/td>\n<td class=\"News\">smart channel &#8211;add <i>name<\/i> <i>path<\/i><\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Remove repository<\/td>\n<td class=\"News\">smart channel &#8211;remove <i>name<\/i><\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Finally, a table for source-based distributions. <a href=\"https:\/\/distrowatch.com\/gentoo\">Gentoo<\/a>&#8216;s Portage is well-documented and widely used, but other distributions that are designed to be built from scratch don&#8217;t often feature in the Linux media, so their package management systems are not particularly well-known. <a href=\"https:\/\/distrowatch.com\/sorcerer\">Sorcerer<\/a>, which existed even before Gentoo Linux was conceived, uses Bash scripts to &#8220;cast spells&#8221; or download, install and compile packages. Sorcerer was later forked into <a href=\"https:\/\/distrowatch.com\/lunar\">Lunar<\/a> Linux and <a href=\"https:\/\/distrowatch.com\/sourcemage\">Source Mage<\/a> GNU\/Linux, both of which are included in the table below. Unfortunately, Sorcerer doesn&#8217;t offer much in terms of online documentation so it has been omitted for now.<\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n<tbody>\n<tr>\n<td>\n<table class=\"News\">\n<tbody>\n<tr>\n<th class=\"Invert\">Task<\/th>\n<th class=\"Invert\">portage<br \/>Gentoo<\/th>\n<th class=\"Invert\">lunar<br \/>Lunar<\/th>\n<th class=\"Invert\">sorcery<br \/>Source Mage<\/th>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Managing software<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Install new software from package repository<\/td>\n<td class=\"News\">emerge <i>pkg<\/i><\/td>\n<td class=\"News\">lin <i>pkg<\/i><\/td>\n<td class=\"News\">cast <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Install new software from package file<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Update existing software<\/td>\n<td class=\"News\">emerge <i>pkg<\/i><\/td>\n<td class=\"News\">lin <i>pkg<\/i><\/td>\n<td class=\"News\">cast <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Remove unwanted software<\/td>\n<td class=\"News\">emerge -aC <i>pkg<\/i><\/td>\n<td class=\"News\">lrm <i>pkg<\/i><\/td>\n<td class=\"News\">dispel <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Updating the system<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Update package list<\/td>\n<td class=\"News\">emerge &#8211;sync<\/td>\n<td class=\"News\">lin moonbase<\/td>\n<td class=\"News\">scribe update<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Update system<\/td>\n<td class=\"News\">emerge -NuDa world<\/td>\n<td class=\"News\">lunar update<\/td>\n<td class=\"News\">sorcery upgrade<\/td>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Searching for packages<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Search by package name<\/td>\n<td class=\"News\">emerge &#8211;search <i>pkg<\/i><\/td>\n<td class=\"News\">lvu search <i>pkg<\/i><\/td>\n<td class=\"News\">gaze search -name <i>pkg<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Search by pattern<\/td>\n<td class=\"News\">emerge &#8211;search <i>pattern<\/i><\/td>\n<td class=\"News\">lvu search <i>pattern<\/i><\/td>\n<td class=\"News\">gaze search <i>pattern<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Search by file name<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">gaze from <i>file<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">List installed packages<\/td>\n<td class=\"News\">qlist -I<\/td>\n<td class=\"News\">lvu installed<\/td>\n<td class=\"News\">gaze installed<\/td>\n<\/tr>\n<tr>\n<td class=\"News\"><b>Configuring access to software repositories<\/b><\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<td class=\"News\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">List repositories<\/td>\n<td class=\"News\">layman -L<\/td>\n<td class=\"News\">&#8212;<\/td>\n<td class=\"News\">scribe index<\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Add repository<\/td>\n<td class=\"News\">layman -a <i>repo<\/i><\/td>\n<td class=\"News\">&#8212;<\/td>\n<td class=\"News\">scribe add <i>repo<\/i><\/td>\n<\/tr>\n<tr>\n<td class=\"News\">Remove repository<\/td>\n<td class=\"News\">layman -d <i>repo<\/i><\/td>\n<td class=\"News\">&#8212;<\/td>\n<td class=\"News\">scribe remove <i>repo<\/i><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"\n<p>DistroWatch offers a very nice cheatsheet on what basic commands the different flavors of linux use.&nbsp; We&#8217;re talking the apt-get\/yum\/zypper stuff.<\/p>\n<p>Source: DistroWatch.com: Put the fun back into computing. Use Linux, BSD.<\/p>\n<p> [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2,10],"tags":[],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry","category-it","category-linuxses","odd"],"_links":{"self":[{"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/comments?post=111"}],"version-history":[{"count":4,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/posts\/111\/revisions"}],"predecessor-version":[{"id":116,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/posts\/111\/revisions\/116"}],"wp:attachment":[{"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/media?parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/categories?post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/tags?post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}