update arch linux notes page
This commit is contained in:
parent
d455ccea5d
commit
fe0e64ac49
1 changed files with 138 additions and 3 deletions
|
@ -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...
|
||||
|
||||
<!-- paru start -->
|
||||
|
||||
### Install
|
||||
|
||||
#### install
|
||||
|
||||
~~~console
|
||||
$ paru -S <package>
|
||||
~~~
|
||||
|
||||
#### 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 <package>
|
||||
~~~
|
||||
|
||||
#### 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>
|
||||
~~~
|
||||
|
||||
#### package details
|
||||
|
||||
~~~console
|
||||
$ paru -Si <package>
|
||||
~~~
|
||||
|
||||
#### list files
|
||||
|
||||
~~~console
|
||||
$ paru -Fl <package>
|
||||
~~~
|
||||
|
||||
#### find package for file
|
||||
|
||||
~~~console
|
||||
$ pkgfile <filename>
|
||||
~~~
|
||||
|
||||
#### search command
|
||||
|
||||
~~~console
|
||||
$ paru -F glxinfo
|
||||
~~~
|
||||
|
||||
### Installed packages
|
||||
|
||||
#### search package
|
||||
|
||||
~~~console
|
||||
$ paru -Qs <package>
|
||||
~~~
|
||||
|
||||
#### package details
|
||||
|
||||
~~~console
|
||||
$ paru -Qii <package>
|
||||
~~~
|
||||
|
||||
#### list files
|
||||
|
||||
~~~console
|
||||
$ paru -Ql <package>
|
||||
~~~
|
||||
|
||||
#### 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
|
||||
~~~
|
||||
|
||||
<!-- paru end -->
|
||||
|
||||
## 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.
|
|||
|
||||
<https://wiki.archlinux.org/title/NFS#Mount_using_/etc/fstab_with_systemd>
|
||||
|
||||
### 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 |
|
||||
| :--- | :--- |
|
||||
|
|
Loading…
Reference in a new issue