2021-03-08 16:03:08 -03:00
|
|
|
# pacman --upgrade
|
|
|
|
|
|
|
|
> Arch Linux package manager utility.
|
2023-05-14 17:11:37 +05:30
|
|
|
> See also: `pacman`.
|
2024-09-24 21:47:18 +02:00
|
|
|
> More information: <https://manned.org/pacman.8>.
|
2021-03-08 16:03:08 -03:00
|
|
|
|
|
|
|
- Install one or more packages from files:
|
|
|
|
|
2024-12-26 13:17:15 -05:00
|
|
|
`sudo pacman -U {{path/to/package1.pkg.tar.zst}} {{path/to/package2.pkg.tar.zst}}`
|
2021-03-08 16:03:08 -03:00
|
|
|
|
|
|
|
- Install a package without prompting:
|
|
|
|
|
2024-12-26 13:17:15 -05:00
|
|
|
`sudo pacman -U --noconfirm {{path/to/package.pkg.tar.zst}}`
|
2021-03-08 16:03:08 -03:00
|
|
|
|
|
|
|
- Overwrite conflicting files during a package installation:
|
|
|
|
|
2024-12-26 13:17:15 -05:00
|
|
|
`sudo pacman -U --overwrite {{path/to/file}} {{path/to/package.pkg.tar.zst}}`
|
2021-03-08 16:03:08 -03:00
|
|
|
|
2025-01-03 18:13:41 +01:00
|
|
|
- Install a package, skipping the [d]ependency version checks:
|
2021-03-08 16:03:08 -03:00
|
|
|
|
2024-12-26 13:17:15 -05:00
|
|
|
`sudo pacman -Ud {{path/to/package.pkg.tar.zst}}`
|
2021-03-08 16:03:08 -03:00
|
|
|
|
2024-12-26 13:17:15 -05:00
|
|
|
- Fetch and [p]rint packages that would be affected by upgrade (does not install any packages):
|
2021-03-08 16:03:08 -03:00
|
|
|
|
2024-12-26 13:17:15 -05:00
|
|
|
`pacman -Up {{path/to/package.pkg.tar.zst}}`
|
2022-10-17 20:09:25 +05:30
|
|
|
|
2025-01-03 18:13:41 +01:00
|
|
|
- Display [h]elp:
|
2022-10-17 20:09:25 +05:30
|
|
|
|
2025-01-03 18:13:41 +01:00
|
|
|
`pacman -Uh`
|