Difference between revisions of "Archlinux pacman"
Jump to navigation
Jump to search
(Created page with "There is an extensive set of documentation for pacman. This covers a few brief but important things. ==Installing a package== $ sudo pacman -S <package> ==Removing a package...") |
|||
| Line 11: | Line 11: | ||
$ sudo pacman -U file:///var/cache/pacman/pkg/package-old_version.pkg.tar.type | $ sudo pacman -U file:///var/cache/pacman/pkg/package-old_version.pkg.tar.type | ||
To source it from the archives | To source it from the archives | ||
| − | $ sudo pacman -U [https://archive.archlinux.org/packages/ | + | $ sudo pacman -U [https://archive.archlinux.org/packages/ | https://archive.archlinux.org/packages/<prefix>/<package>/<version>] |
Revision as of 22:25, 6 May 2022
There is an extensive set of documentation for pacman. This covers a few brief but important things.
Installing a package
$ sudo pacman -S <package>
Removing a package
$ sudo pacman -R <package>
Updating the system
$ sudo pacman -Syu
Installing a specific package version
If you have previously installed it
$ sudo pacman -U file:///var/cache/pacman/pkg/package-old_version.pkg.tar.type
To source it from the archives
$ sudo pacman -U | https://archive.archlinux.org/packages/<prefix>/<package>/<version>