2025-03-14 21:59:59 -06:00
|
|
|
# repo-add
|
|
|
|
|
|
|
|
|
|
> Package database maintenance utility which enables installation of said package via Pacman.
|
|
|
|
|
> More information: <https://manned.org/repo-add>.
|
|
|
|
|
|
|
|
|
|
- Create an empty repository:
|
|
|
|
|
|
|
|
|
|
`repo-add {{path/to/database.db.tar.gz}}`
|
|
|
|
|
|
|
|
|
|
- Add all package binaries in the current directory and remove the old database file:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`repo-add {{[-R|--remove]}} {{path/to/database.db.tar.gz}} {{*.pkg.tar.zst}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Add all package binaries in the current directory in silent mode except for warning and error messages:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`repo-add {{[-q|--quiet]}} {{path/to/database.db.tar.gz}} {{*.pkg.tar.zst}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Add all package binaries in the current directory without showing color:
|
|
|
|
|
|
|
|
|
|
`repo-add --nocolor {{path/to/database.db.tar.gz}} {{*.pkg.tar.zst}}`
|