Difference between revisions of "Package Managers"
m |
|||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {| class="wikitable" style="margin: auto;" | ||
+ | ! scope="row"|Languages | ||
+ | | | [[He/{{PAGENAME:מנהלי חבילה}}|עִברִית]] | ||
+ | |} | ||
= Linux Package Managers = | = Linux Package Managers = | ||
− | Package managers are generally based either on | + | Package managers are generally based either on Debian's 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, 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 check information here against the distribution's own documentation and not rely on the information given here. |
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. | 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. | ||
Line 7: | Line 11: | ||
<pattern> is a substring to search for in package names - all matches are normally returned. | <pattern> is a substring to search for in package names - all matches are normally returned. | ||
− | <regexp> is a Regex expression - | + | <regexp> is a Regex expression - all matches to the expression are normally returned |
Most search commands will match <pattern> to substrings of package names. | Most search commands will match <pattern> to substrings of package names. | ||
− | {| class = "wikitable" | + | {| class="wikitable sortable" |
! Distribution | ! Distribution | ||
! Package Tool | ! Package Tool | ||
Line 19: | Line 23: | ||
! GUI Interface | ! GUI Interface | ||
|- | |- | ||
− | ! Debian | + | ! [https://tracker.debian.org/pkg/gnucash Debian] |
| aptitude | | aptitude | ||
| aptitude install <package-name> | | aptitude install <package-name> | ||
Line 27: | Line 31: | ||
| Synaptic | | Synaptic | ||
|- | |- | ||
− | ! Ubuntu >=16.04, Linux Mint >=18 | + | ! [https://launchpad.net/ubuntu/+source/gnucash 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 | + | | apt search <pattern> |
| dpkg | | dpkg | ||
| Software Centre or Manager | | Software Centre or Manager | ||
|- | |- | ||
− | ! Ubuntu < 16.04, Linux Mint < 17.3 | + | ! [https://launchpad.net/ubuntu/+source/gnucash Ubuntu] < 16.04, Linux Mint < 17.3 |
| apt-get | | apt-get | ||
| apt-get install <package-name> | | apt-get install <package-name> | ||
Line 43: | Line 47: | ||
| Software Centre or Manager | | Software Centre or Manager | ||
|- | |- | ||
− | ! Fedora >= Release 22 | + | ! [https://apps.fedoraproject.org/packages/gnucash/ Fedora] >= Release 22 |
| dnf | | dnf | ||
| dnf install <package-name> | | dnf install <package-name> | ||
Line 51: | Line 55: | ||
| yumex | | yumex | ||
|- | |- | ||
− | ! Fedora < Release 22 | + | ! [https://apps.fedoraproject.org/packages/gnucash/ Fedora] < Release 22 |
| yum | | yum | ||
| yum install <package-name> | | yum install <package-name> | ||
Line 59: | Line 63: | ||
| yumex | | yumex | ||
|- | |- | ||
− | ! Arch Linux | + | ! [https://www.archlinux.org/packages/?q=gnucash Arch Linux] |
| pacman | | pacman | ||
− | | pacman --sync | + | | pacman --sync <package-name> |
− | | pacman --remove | + | | pacman --remove <package-name> |
| pacman --search <regexp> | | pacman --search <regexp> | ||
| libalpm | | libalpm | ||
| tkPacman | | tkPacman | ||
|- | |- | ||
− | !openSUSE | + | ! [https://software.opensuse.org/package/gnucash openSUSE] |
| zypper | | zypper | ||
| zypper install <package-name> | | zypper install <package-name> | ||
Line 75: | Line 79: | ||
| YaST | | YaST | ||
|- | |- | ||
− | !Gentoo | + | ! [https://packages.gentoo.org/packages/app-office/gnucash Gentoo] |
|emerge | |emerge | ||
|emerge --ask <package-name> | |emerge --ask <package-name> | ||
Line 82: | Line 86: | ||
|Portage | |Portage | ||
|Porthole | |Porthole | ||
+ | |- | ||
+ | !OpenBSD | ||
+ | |pkg_* | ||
+ | |pkg_add <package_name> | ||
+ | |pkg_delete <package-name> | ||
+ | |?? | ||
+ | |rpm | ||
+ | |?? | ||
+ | |- | ||
+ | ! [https://www.freshports.org/finance/gnucash FreeBSD] | ||
+ | |pkg | ||
+ | |pkg install <package-name> | ||
+ | |pkg delete <package-name> | ||
+ | |pkg search <string> (glob, regex etc) | ||
+ | |rpm | ||
+ | |?? | ||
+ | |- | ||
+ | !Solaris | ||
+ | | | ||
+ | |pkgadd <package-name> | ||
+ | |pkgrm <package-name> | ||
+ | |pkginfo, pkgchk | ||
+ | |rpm | ||
+ | |?? | ||
|} | |} |
Latest revision as of 10:18, 9 May 2021
Languages | עִברִית |
---|
Linux Package Managers
Package managers are generally based either on Debian's 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, 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 check information here against the distribution's own documentation and not rely on the information given here.
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 - all matches to the expression are normally returned
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 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 | pacman --sync <package-name> | pacman --remove <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 |
OpenBSD | pkg_* | pkg_add <package_name> | pkg_delete <package-name> | ?? | rpm | ?? |
FreeBSD | pkg | pkg install <package-name> | pkg delete <package-name> | pkg search <string> (glob, regex etc) | rpm | ?? |
Solaris | pkgadd <package-name> | pkgrm <package-name> | pkginfo, pkgchk | rpm | ?? |