pactrans
Install, remove, and upgrade ALPM packages. tldr-pages
On Linux
Linux
Install a package from a repository
sudo pactrans --install package_nameIdentifyRemove a package
sudo pactrans --remove package_nameIdentifyUpgrade all installed packages
sudo pactrans --sysupgradeIdentifyInstall a package file
sudo pactrans --file path/to/package.pkg.tar.zstIdentifyReplace a locally installed package with a package from a repository
sudo pactrans local/package_to_remove repository_name/package_to_installIdentifyPrint what the transaction would do without performing it
pactrans --print-only --install package_nameIdentify