aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/pacman.html
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pacman.html')
-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>