1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/repo-add.md
Managor ce9de4753a
*: fix style guide issues part 6 (#15792)
Co-authored-by: Darío Hereñú <magallania@gmail.com>
2025-03-07 13:14:54 +02:00

20 lines
729 B
Markdown

# 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:
`repo-add {{[-R|--remove]}} {{path/to/database.db.tar.gz}} {{*.pkg.tar.zst}}`
- Add all package binaries in the current directory in silent mode except for warning and error messages:
`repo-add {{[-q|--quiet]}} {{path/to/database.db.tar.gz}} {{*.pkg.tar.zst}}`
- Add all package binaries in the current directory without showing color:
`repo-add --nocolor {{path/to/database.db.tar.gz}} {{*.pkg.tar.zst}}`