1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/pacman-upgrade.md

30 lines
793 B
Markdown
Raw Normal View History

2021-03-08 16:03:08 -03:00
# pacman --upgrade
> Arch Linux package manager utility.
> See also: `pacman`.
> More information: <https://manned.org/pacman.8>.
2021-03-08 16:03:08 -03:00
- Install one or more packages from files:
`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:
`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:
`sudo pacman -U --overwrite {{path/to/file}} {{path/to/package.pkg.tar.zst}}`
2021-03-08 16:03:08 -03:00
- Install a package, skipping the [d]ependency version checks:
2021-03-08 16:03:08 -03:00
`sudo pacman -Ud {{path/to/package.pkg.tar.zst}}`
2021-03-08 16:03:08 -03: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
`pacman -Up {{path/to/package.pkg.tar.zst}}`
- Display [h]elp:
`pacman -Uh`