add pacman

main
Tran Hau 2020-03-11 22:39:57 +07:00
parent 05bca429ce
commit cabf26f8c3
1 changed files with 21 additions and 0 deletions

21
pacman.md Normal file
View File

@ -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)](<https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#Removing_unused_packages_(orphans)>):
```sh
sudo pacman -Syyuu && sudo pacman -Rns $(pacman -Qtdq) || true
```