1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 01:02:09 +02:00

pacman-upgrade: add page (#5295)

This commit is contained in:
Axel Navarro 2021-03-08 16:03:08 -03:00 committed by GitHub
parent 392fd6b434
commit 36e7ef38da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,28 @@
# pacman --upgrade
> Arch Linux package manager utility.
> More information: <https://man.archlinux.org/man/pacman.8>.
- Display help:
`pacman --upgrade --help`
- 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}}`