LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pacman-upgrade

installs packages from local archive files rather than from remote repositories

TLDR

Install from local files
$ sudo pacman -U path/to/package.pkg.tar.zst
copy
Install without prompting
$ sudo pacman -U --noconfirm path/to/package.pkg.tar.zst
copy
Overwrite conflicting files
$ sudo pacman -U --overwrite path/to/file path/to/package.pkg.tar.zst
copy
Skip dependency checks
$ sudo pacman -Ud path/to/package.pkg.tar.zst
copy
Preview upgrade
$ pacman -Up path/to/package.pkg.tar.zst
copy

SYNOPSIS

pacman -U [OPTIONS] PACKAGE...

DESCRIPTION

pacman -U (upgrade) installs packages from local archive files rather than from remote repositories. This is useful for installing locally built packages, AUR packages, or downgrading to older package versions.

PARAMETERS

-U, --upgrade

Upgrade or install from package files
-d, --nodeps
Skip dependency version checks
-p, --print
Print what would be installed without installing
--overwrite glob
Overwrite conflicting files matching the glob pattern
--noconfirm
Skip confirmation prompts
--asdeps
Mark packages as non-explicitly installed (dependencies)
--asexplicit
Mark packages as explicitly installed

INSTALL

sudo apt install pacman-package-manager
copy
sudo dnf install pacman
copy
sudo pacman -S pacman
copy
sudo apk add pacman
copy
nix profile install nixpkgs#pacman
copy

CAVEATS

Package files must be compatible with the system architecture. Dependencies are not automatically resolved from repositories when using -U. Using -d to skip dependency checks can break the system.

HISTORY

pacman is the package manager for Arch Linux and its derivatives.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid