aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2023-04-30 14:50:19 +0000
committerjohannst <johannst@users.noreply.github.com>2023-04-30 14:50:19 +0000
commit87c538b89ea68cf0c133a9243097ffac646e6739 (patch)
treee8f93c9646bad10afa246100114fd923459990a3 /tools
parent4b3a334cf553b9f0b7f831538cb4d23fbdb0594f (diff)
downloadnotes-87c538b89ea68cf0c133a9243097ffac646e6739.tar.gz
notes-87c538b89ea68cf0c133a9243097ffac646e6739.zip
deploy: a3c6de1d257ce0b58d4c0386d8044f0673b68c91
Diffstat (limited to 'tools')
-rw-r--r--tools/pacman.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/pacman.html b/tools/pacman.html
index 70fd22f..a363e85 100644
--- a/tools/pacman.html
+++ b/tools/pacman.html
@@ -186,6 +186,10 @@ package and sort by size.</p>
/Installed Size/ { printf &quot;%8.2f%s %s\n&quot;, $4, $5, name }' |
sort -h
</code></pre>
+<p>Install package into different <code>root</code> directory but keep using the default
+database.</p>
+<pre><code class="language-text">pacman --root abc --dbpath /var/lib/pacman -S mingw-w64-gcc
+</code></pre>
</main>