repo-add: add page (#6622)

beep
Aakash Sharma 2021-10-06 01:43:18 +05:30 committed by GitHub
parent 1a98d09a48
commit c66e7634e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

16
pages/linux/repo-add.md Normal file
View File

@ -0,0 +1,16 @@
# repo-add
> Package database maintenance utility which enables installation of said package via Pacman.
> More information: <https://man.archlinux.org/man/repo-add>.
- Add all package binaries in the current directory and remove the old database file:
`repo-add --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 --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}}`