2021-10-06 01:43:18 +05:30
|
|
|
# repo-add
|
|
|
|
|
|
|
|
> Package database maintenance utility which enables installation of said package via Pacman.
|
2025-08-10 20:05:57 +03:00
|
|
|
> See also: `repo-remove`.
|
2024-09-24 21:47:18 +02:00
|
|
|
> More information: <https://manned.org/repo-add>.
|
2021-10-06 01:43:18 +05:30
|
|
|
|
2024-02-24 16:35:17 +02:00
|
|
|
- Create an empty repository:
|
|
|
|
|
|
|
|
`repo-add {{path/to/database.db.tar.gz}}`
|
|
|
|
|
2025-08-10 20:05:57 +03:00
|
|
|
- Add packages to the repository:
|
|
|
|
|
|
|
|
`repo-add {{path/to/database.db.tar.gz}} {{package1.pkg.tar.zst package2.pkg.tar.zst ...}}`
|
|
|
|
|
|
|
|
- Add all package binaries in the current directory and remove any outdated package files:
|
2021-10-06 01:43:18 +05:30
|
|
|
|
2025-03-07 13:14:54 +02:00
|
|
|
`repo-add {{[-R|--remove]}} {{path/to/database.db.tar.gz}} {{*.pkg.tar.zst}}`
|
2021-10-06 01:43:18 +05:30
|
|
|
|
|
|
|
- Add all package binaries in the current directory in silent mode except for warning and error messages:
|
|
|
|
|
2025-03-07 13:14:54 +02:00
|
|
|
`repo-add {{[-q|--quiet]}} {{path/to/database.db.tar.gz}} {{*.pkg.tar.zst}}`
|
2021-10-06 01:43:18 +05:30
|
|
|
|
|
|
|
- Add all package binaries in the current directory without showing color:
|
|
|
|
|
|
|
|
`repo-add --nocolor {{path/to/database.db.tar.gz}} {{*.pkg.tar.zst}}`
|