Difference between revisions of "Package Managers"
(Start of table of package managers) |
(Summary Table of package managers on some Linux systems) |
||
Line 1: | Line 1: | ||
= Linux Package Managers = | = Linux Package Managers = | ||
+ | Package managers are generally based either on Debians dpkg or Red Hat's rpm package managers. Most distributions provide CLI front ends to these basic package managers or GUI based front ends which handle aspects such as dependency management and repository access, software updating and upgrading etc. We will be referring to these front end applications as package managers rather than the base applications. This information is provided here primarily to help you locate software installation tools and not as a reference. You should always chack information here against the distributions own documentation and not rely on the information given. If you use a different distribution and can provide the relevant information please update this list or request addition of your distribution on the GnuCash User forum/mailing list. | ||
<package-name> can be a single package name or a space separated list of <package-name> unless noted other wise. | <package-name> can be a single package name or a space separated list of <package-name> unless noted other wise. | ||
+ | <pattern> is a substring to search for in package names - all matches are normally returned | ||
+ | <regexp> is a Regex expression - allmatches to the | ||
Most search commands will match <pattern> to substrings of package names. | Most search commands will match <pattern> to substrings of package names. | ||
Line 10: | Line 13: | ||
! Remove Command | ! Remove Command | ||
! Search Command | ! Search Command | ||
+ | ! Base tool | ||
+ | ! GUI Interface | ||
|- | |- | ||
− | !Debian | + | ! Debian |
| aptitude | | aptitude | ||
| aptitude install <package-name> | | aptitude install <package-name> | ||
| aptitude remove <package-name> | | aptitude remove <package-name> | ||
− | | aptitude search <pattern> | + | | aptitude search <pattern> |
+ | | dpkg | ||
+ | | Synaptic | ||
|- | |- | ||
− | !Ubuntu, Linux Mint | + | ! Ubuntu >=16.04, Linux Mint >=18 |
| apt | | apt | ||
| apt install <package-name> | | apt install <package-name> | ||
| apt remove <package-name> | | apt remove <package-name> | ||
− | |apt-cache search <pattern> | + | | apt-cache search <pattern> |
+ | | dpkg | ||
+ | | Software Centre or Manager | ||
|- | |- | ||
− | !Fedora | + | ! Ubuntu < 16.04, Linux Mint < 17.3 |
− | |dnf | + | | apt-get |
− | |dnf install <package-name> | + | | apt-get install <package-name> |
− | |dnf remove <package-name> | + | | apt-get remove <package-name> |
− | |dnf search <pattern> | + | | apt-cache search <pattern> |
− | !Fedora | + | | dpkg |
− | |yum | + | | Software Centre or Manager |
− | |yum install <package-name> | + | |- |
− | |yum remove <package-name> | + | ! Fedora >= Release 22 |
− | |yum search <pattern> | + | | dnf |
+ | | dnf install <package-name> | ||
+ | | dnf remove <package-name> | ||
+ | | dnf search <pattern> | ||
+ | | rpm | ||
+ | | yumex | ||
+ | |- | ||
+ | ! Fedora < Release 22 | ||
+ | | yum | ||
+ | | yum install <package-name> | ||
+ | | yum remove <package-name> | ||
+ | | yum search <pattern> | ||
+ | | rpm | ||
+ | | yumex | ||
+ | |- | ||
+ | ! Arch Linux | ||
+ | | pacman | ||
+ | | pacman --sync|-S <package-name> | ||
+ | | pacman --remove|-R <package-name> | ||
+ | | pacman --search <regexp> | ||
+ | | libalpm | ||
+ | | tkPacman | ||
+ | |- | ||
+ | !openSUSE | ||
+ | | zypper | ||
+ | | zypper install <package-name> | ||
+ | | zypper remove <package-name> | ||
+ | | zypper search -s <query-string or regex> | ||
+ | | rpm | ||
+ | | YaST | ||
+ | |- | ||
+ | !Gentoo | ||
+ | |emerge | ||
+ | |emerge --ask <package-name> | ||
+ | |emerge --depclean <package-name> | ||
+ | |emerge --search <string> | ||
+ | |Portage | ||
+ | |Porthole | ||
|} | |} |
Revision as of 06:16, 23 September 2018
Linux Package Managers
Package managers are generally based either on Debians dpkg or Red Hat's rpm package managers. Most distributions provide CLI front ends to these basic package managers or GUI based front ends which handle aspects such as dependency management and repository access, software updating and upgrading etc. We will be referring to these front end applications as package managers rather than the base applications. This information is provided here primarily to help you locate software installation tools and not as a reference. You should always chack information here against the distributions own documentation and not rely on the information given. If you use a different distribution and can provide the relevant information please update this list or request addition of your distribution on the GnuCash User forum/mailing list.
<package-name> can be a single package name or a space separated list of <package-name> unless noted other wise. <pattern> is a substring to search for in package names - all matches are normally returned <regexp> is a Regex expression - allmatches to the
Most search commands will match <pattern> to substrings of package names.
Distribution | Package Tool | Install Command | Remove Command | Search Command | Base tool | GUI Interface |
---|---|---|---|---|---|---|
Debian | aptitude | aptitude install <package-name> | aptitude remove <package-name> | aptitude search <pattern> | dpkg | Synaptic |
Ubuntu >=16.04, Linux Mint >=18 | apt | apt install <package-name> | apt remove <package-name> | apt-cache search <pattern> | dpkg | Software Centre or Manager |
Ubuntu < 16.04, Linux Mint < 17.3 | apt-get | apt-get install <package-name> | apt-get remove <package-name> | apt-cache search <pattern> | dpkg | Software Centre or Manager |
Fedora >= Release 22 | dnf | dnf install <package-name> | dnf remove <package-name> | dnf search <pattern> | rpm | yumex |
Fedora < Release 22 | yum | yum install <package-name> | yum remove <package-name> | yum search <pattern> | rpm | yumex |
Arch Linux | pacman | -S <package-name> | -R <package-name> | pacman --search <regexp> | libalpm | tkPacman |
openSUSE | zypper | zypper install <package-name> | zypper remove <package-name> | zypper search -s <query-string or regex> | rpm | YaST |
Gentoo | emerge | emerge --ask <package-name> | emerge --depclean <package-name> | emerge --search <string> | Portage | Porthole |