summaryrefslogtreecommitdiff
path: root/www/posts/arch/2020-08-24/pacman-cheat-sheet-for-ubuntu-users/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/posts/arch/2020-08-24/pacman-cheat-sheet-for-ubuntu-users/index.html')
-rw-r--r--www/posts/arch/2020-08-24/pacman-cheat-sheet-for-ubuntu-users/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/posts/arch/2020-08-24/pacman-cheat-sheet-for-ubuntu-users/index.html b/www/posts/arch/2020-08-24/pacman-cheat-sheet-for-ubuntu-users/index.html
index b1acbe2..c0814c4 100644
--- a/www/posts/arch/2020-08-24/pacman-cheat-sheet-for-ubuntu-users/index.html
+++ b/www/posts/arch/2020-08-24/pacman-cheat-sheet-for-ubuntu-users/index.html
@@ -18,7 +18,7 @@
<link href="/posts/php/atom.xml" type="application/atom+xml" rel="alternate" title="The Home of David T. Sadler - All Posts About PHP"/>
</head>
<body>
- <section><h1>Pacman Cheat Sheet For Ubuntu Users</h1><blockquote>Mon 24th August 2020 By David T. Sadler.</blockquote><p>As a regular Ubuntu user I am used to using apt for system maintenance. But now that I've installed Arch Linux I will be using pacman and so below is a cheat sheet for myself that shows the pacman equivalent of some common apt actions.</p><pre>Action | Apt | Pacman |
+ <section><h1>Pacman Cheat Sheet For Ubuntu Users</h1><blockquote>Mon 24th August 2020 By David T. Sadler.</blockquote><p>As a regular Ubuntu user I am used to using apt for system maintenance. But now that I&#039;ve installed Arch Linux I will be using pacman and so below is a cheat sheet for myself that shows the pacman equivalent of some common apt actions.</p><pre>Action | Apt | Pacman |
---------------------------|--------------------------------|----------------------------|
Install a package | apt install &lt;package name&gt; | pacman -S &lt;package name&gt; |
Remove a package | apt remove &lt;package name&gt; | pacman -Rs &lt;package name&gt; |
@@ -40,7 +40,7 @@ $ pacman -Syu</code></pre><p>Since Arch uses a rolling release system there is n
$ pacman -Scc</code></pre><p>Free up disk space by removing from the cache any packages that are no longer installed. Also removes any cached sync databases.</p><h2>Remove Used Dependencies</h2><pre><code class="shell">$ pacman --query --deps --unrequired --quiet | pacman --remove --recursive -
-$ pacman -Qdtq | pacman -Rs -</code></pre><p>Remove dependencies that are no longer needed, because e.g. the package which needed the dependencies was removed.</p><h3>Links</h3><a href="/posts/arch/2020-05-25/installing-arch-linux-on-a-x220-thinkpad/">Installing Arch Linux on a Thinkpad X220.</a><a href="/posts/arch/">Arch - Read More Posts.</a><p>I don't have comments as I don't want to manage them. You can however contact me at the below address if you want to.</p><a href="mailto:david@davidtsadler.com">Email david@davidtsadler.com</a><h3>License</h3><a href="https://creativecommons.org/licenses/by-sa/4.0/">The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</a><p>Copyright © 2021 David T. Sadler.</p><a href="/">Return to Homepage.</a></section>
+$ pacman -Qdtq | pacman -Rs -</code></pre><p>Remove dependencies that are no longer needed, because e.g. the package which needed the dependencies was removed.</p><h3>Links</h3><a href="/posts/arch/2020-05-25/installing-arch-linux-on-a-x220-thinkpad/">Installing Arch Linux on a Thinkpad X220.</a><a href="/posts/arch/">Arch - Read More Posts.</a><p>I don&#039;t have comments as I don&#039;t want to manage them. You can however contact me at the below address if you want to.</p><a href="mailto:david@davidtsadler.com">Email david@davidtsadler.com</a><h3>License</h3><a href="https://creativecommons.org/licenses/by-sa/4.0/">The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</a><p>Copyright © 2021 David T. Sadler.</p><a href="/">Return to Homepage.</a></section>
<script defer src="/js/highlight.min.js"></script>
<script defer src="/js/site.js"></script>
</body>