From c66e7634e1e59aa749f2d66bce6aefab005905d1 Mon Sep 17 00:00:00 2001 From: Aakash Sharma <60808802+Shinyzenith@users.noreply.github.com> Date: Wed, 6 Oct 2021 01:43:18 +0530 Subject: [PATCH] repo-add: add page (#6622) --- pages/linux/repo-add.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/linux/repo-add.md diff --git a/pages/linux/repo-add.md b/pages/linux/repo-add.md new file mode 100644 index 000000000..68f082cb8 --- /dev/null +++ b/pages/linux/repo-add.md @@ -0,0 +1,16 @@ +# repo-add + +> Package database maintenance utility which enables installation of said package via Pacman. +> More information: . + +- 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}}`