aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/tools/pacman.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/pacman.md b/src/tools/pacman.md
index 12c5836..2a6ce95 100644
--- a/src/tools/pacman.md
+++ b/src/tools/pacman.md
@@ -56,3 +56,9 @@ pacman -Qetq | xargs pacman -Qi |
/Installed Size/ { printf "%8.2f%s %s\n", $4, $5, name }' |
sort -h
```
+
+Install package into different `root` directory but keep using the default
+database.
+```text
+pacman --root abc --dbpath /var/lib/pacman -S mingw-w64-gcc
+```