From 7939805687e75f8a46cd6c43a80e9fb3db88da81 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Mon, 7 Mar 2022 21:18:44 +0000 Subject: Add Installing Docker on Arch Linux --- .../arch/2020-08-24/pacman-cheat-sheet-for-ubuntu-users/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/posts/arch/2020-08-24/pacman-cheat-sheet-for-ubuntu-users/index.html') 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 @@ -

Pacman Cheat Sheet For Ubuntu Users

Mon 24th August 2020 By David T. Sadler.

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.

Action                     | Apt                            | Pacman                     |
+        

Pacman Cheat Sheet For Ubuntu Users

Mon 24th August 2020 By David T. Sadler.

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.

Action                     | Apt                            | Pacman                     |
 ---------------------------|--------------------------------|----------------------------|
 Install a package          | apt install <package name>     | pacman -S <package name>   |
 Remove a package           | apt remove <package name>      | pacman -Rs <package name>  |
@@ -40,7 +40,7 @@ $ pacman -Syu

Since Arch uses a rolling release system there is n $ pacman -Scc

Free up disk space by removing from the cache any packages that are no longer installed. Also removes any cached sync databases.

Remove Used Dependencies

$ pacman --query --deps --unrequired --quiet | pacman --remove --recursive -
 
-$ pacman -Qdtq | pacman -Rs -

Remove dependencies that are no longer needed, because e.g. the package which needed the dependencies was removed.

Links

Installing Arch Linux on a Thinkpad X220.Arch - Read More Posts.

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.

Email david@davidtsadler.com

License

The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Copyright © 2021 David T. Sadler.

Return to Homepage.
+$ pacman -Qdtq | pacman -Rs -

Remove dependencies that are no longer needed, because e.g. the package which needed the dependencies was removed.

Links

Installing Arch Linux on a Thinkpad X220.Arch - Read More Posts.

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.

Email david@davidtsadler.com

License

The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Copyright © 2021 David T. Sadler.

Return to Homepage. -- cgit v1.2.3-13-gbd6f