2021-03-08 19:03:08 +00:00
|
|
|
# pacman --upgrade
|
|
|
|
|
|
|
|
> Arch Linux package manager utility.
|
|
|
|
> More information: <https://man.archlinux.org/man/pacman.8>.
|
|
|
|
|
|
|
|
- Install one or more packages from files:
|
|
|
|
|
|
|
|
`sudo pacman --upgrade {{path/to/package1.pkg.tar.zst}} {{path/to/package2.pkg.tar.zst}}`
|
|
|
|
|
|
|
|
- Install a package without prompting:
|
|
|
|
|
|
|
|
`sudo pacman --upgrade --noconfirm {{path/to/package.pkg.tar.zst}}`
|
|
|
|
|
|
|
|
- Overwrite conflicting files during a package installation:
|
|
|
|
|
|
|
|
`sudo pacman --upgrade --overwrite {{path/to/file}} {{path/to/package.pkg.tar.zst}}`
|
|
|
|
|
|
|
|
- Install a package, skipping the dependency version checks:
|
|
|
|
|
|
|
|
`sudo pacman --upgrade --nodeps {{path/to/package.pkg.tar.zst}}`
|
|
|
|
|
|
|
|
- List packages that would be affected (does not install any packages):
|
|
|
|
|
|
|
|
`pacman --query --print {{path/to/package.pkg.tar.zst}}`
|
2022-10-17 15:39:25 +01:00
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
`pacman --upgrade --help`
|