m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/pacman.md
blob: 5c0350fbae89670c69828d441af66182e70cf821 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Arch Linux Packages

## Downgrade cached package

    pacman -U /var/cache/pacman/pkg/package-version...

## Cleaning cache

    paccache -r

* `-k`: how many past versions of each package to keep, defaults to 3.
* `-u`: target only uninstalled packages.

    # remove all versions of uninstalled packages
    paccache -ruk0