mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 09:58:46 +00:00
Update cheatsheets
This commit is contained in:
21
linux/repo-add
Normal file
21
linux/repo-add
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user