repo-add
Package database maintenance utility which enables installation of said package via Pacman. tldr-pages
On Linux
Linux
Create an empty repository
repo-add path/to/database.db.tar.gzIdentifyAdd packages to the repository
repo-add path/to/database.db.tar.gz package1.pkg.tar.zst package2.pkg.tar.zst ...IdentifyAdd all package binaries in the current directory and remove any outdated package files
repo-add --remove path/to/database.db.tar.gz *.pkg.tar.zstIdentifyAdd all package binaries in the current directory in silent mode except for warning and error messages
repo-add --quiet path/to/database.db.tar.gz *.pkg.tar.zstIdentifyAdd all package binaries in the current directory without showing color
repo-add --nocolor path/to/database.db.tar.gz *.pkg.tar.zstIdentify