From cabf26f8c3509d6423b081c35a96bcac2d9887fa Mon Sep 17 00:00:00 2001 From: Tran Hau Date: Wed, 11 Mar 2020 22:39:57 +0700 Subject: [PATCH] add pacman --- pacman.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pacman.md diff --git a/pacman.md b/pacman.md new file mode 100644 index 0000000..76884db --- /dev/null +++ b/pacman.md @@ -0,0 +1,21 @@ +# pacman + +Assume you use Archlinux. + +Read [pacman](https://wiki.archlinux.org/index.php/pacman). + +Read [Mirrors](https://wiki.archlinux.org/index.php/Mirrors). + +Uncomment/add options in `/etc/pacman.conf`: + +```txt +# Misc options +Color +ILoveCandy +``` + +Read [Force pacman to refresh the package lists](https://wiki.archlinux.org/index.php/Mirrors#Force_pacman_to_refresh_the_package_lists) and [Removing unused packages (orphans)](): + +```sh +sudo pacman -Syyuu && sudo pacman -Rns $(pacman -Qtdq) || true +```