2020-03-11 15:39:57 +00:00
|
|
|
# pacman
|
|
|
|
|
|
|
|
Assume you use Archlinux.
|
|
|
|
|
|
|
|
Read [pacman](https://wiki.archlinux.org/index.php/pacman).
|
|
|
|
|
2020-03-28 14:49:28 +00:00
|
|
|
Uncomment or add if not exist options in `/etc/pacman.conf`:
|
2020-03-11 15:39:57 +00:00
|
|
|
|
|
|
|
```txt
|
|
|
|
# Misc options
|
|
|
|
Color
|
|
|
|
ILoveCandy
|
|
|
|
```
|
|
|
|
|
2020-03-28 14:49:28 +00:00
|
|
|
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:
|
2020-03-11 15:39:57 +00:00
|
|
|
|
|
|
|
```sh
|
2020-03-28 14:49:28 +00:00
|
|
|
sudo pacman -Syu
|
2020-03-11 15:39:57 +00:00
|
|
|
```
|