til/pacman.md

24 lines
564 B
Markdown

# pacman
Assume you use Archlinux.
Read [pacman](https://wiki.archlinux.org/index.php/pacman).
Uncomment or add if not exist options in `/etc/pacman.conf`:
```txt
# Misc options
Color
ILoveCandy
```
Read [Mirrors/Force pacman to refresh the package lists](https://wiki.archlinux.org/index.php/Mirrors#Force_pacman_to_refresh_the_package_lists).
Read [pacman/Tips and tricks/Removing unused packages (orphans)](<https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#Removing_unused_packages_(orphans)>).
Upgrading packages:
```sh
sudo pacman -Syu
```