aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-04-30 16:49:51 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-04-30 16:49:51 +0200
commita3c6de1d257ce0b58d4c0386d8044f0673b68c91 (patch)
tree52909d83b92ca148a7c093d17eab4dc4016cf3d4 /src/tools
parentd6deac54dd372c946942637636846893694ce521 (diff)
downloadnotes-a3c6de1d257ce0b58d4c0386d8044f0673b68c91.tar.gz
notes-a3c6de1d257ce0b58d4c0386d8044f0673b68c91.zip
pacman: install pkg into different root
Diffstat (limited to 'src/tools')
-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
+```