diff --git a/content/notes/archlinux/index.md b/content/notes/archlinux/index.md index 0db9f6c..88590b1 100644 --- a/content/notes/archlinux/index.md +++ b/content/notes/archlinux/index.md @@ -1,7 +1,7 @@ --- title: Archlinux date: 2023-11-29T20:33:48+0100 -lastmod: 2024-06-15T21:14:19+0000 +lastmod: 2024-06-30T17:56:15+0000 tags: - archlinux - systemd @@ -118,6 +118,141 @@ wifi.backend=iwd dhcp=dhcpcd ~~~ +## Paru / Pacman + +Found on [andreas-mausch.de](https://cheatsheets.andreas-mausch.de/paru) and +I had to copy this to my notes archive here... + + + +### Install + +#### install + +~~~console +$ paru -S +~~~ + +#### Edit PKGBUILD and skip checksum check + +~~~console +$ paru -S gnucash-xbt --fm helix --mflags "--skipchecksums" +~~~ + +#### uninstall (-n: no backup files; -s: remove dependencies) + +~~~console +$ paru -Rns +~~~ + +#### system update + +~~~console +$ paru -Syu +~~~ + +### Mirrors + +#### select fastest + +~~~console +$ sudo pacman-mirrors --fasttrack +~~~ + +#### select by country + +~~~console +$ sudo pacman-mirrors --country Germany,France,Austria +~~~ + +### Search repo + +#### search package + +~~~console +$ paru -Ss +~~~ + +#### package details + +~~~console +$ paru -Si +~~~ + +#### list files + +~~~console +$ paru -Fl +~~~ + +#### find package for file + +~~~console +$ pkgfile +~~~ + +#### search command + +~~~console +$ paru -F glxinfo +~~~ + +### Installed packages + +#### search package + +~~~console +$ paru -Qs +~~~ + +#### package details + +~~~console +$ paru -Qii +~~~ + +#### list files + +~~~console +$ paru -Ql +~~~ + +#### orphans + +~~~console +$ paru -Qdt +~~~ + +#### manually installed (list all aur) + +~~~console +$ pacman -Qm +~~~ + +### Clean-up + +#### clear cache + +~~~console +$ paru -Sc +~~~ + +### Official repo vs. AUR + +#### repo + +~~~console +$ paru -[...] --repo +~~~ + +#### aur + +~~~console +$ paru -[...] --aur +~~~ + + + ## Blocking IPs from a list with ipset Using [ipset](https://wiki.archlinux.org/title/Ipset) should increase performance @@ -178,7 +313,7 @@ I know, this is an Arch Linux post but hey, I don't care. -### Arch Linux ARM installation on a Raspberry Pi 2 +## Arch Linux ARM installation on a Raspberry Pi 2 The wiki page is for Raspberry Pi 4. @@ -236,7 +371,7 @@ Possible settings are: More details can be found in {{< man loader.conf 5 >}}. -### Manual sections +## Manual sections | Section | Description | | :--- | :--- |