Connect to the internet
If you have a wireless connection, start/enable the
iwd.service if you have not already. Then connect by doing:
# iwctl [iwd]# station device scan [iwd]# station device get-networks [iwd]# station device connect SSID
timedatectl set-ntp true to keep your clock in sync.
Install the package.
Set your DNS server to
Add the following configuration file for unbound. It includes DNSSEC, root hints, and ad blocking. Add the IP addresses of DNS servers where indicated.
server: use-syslog: yes do-daemonize: no username: "unbound" directory: "/etc/unbound" root-hints: root.hints trust-anchor-file: trusted-key.key forward-zone: name: "." forward-addr: dns_ip_addr1 forward-addr: dns_ip_addr2
Update the root hints file:
# curl -o /etc/unbound/root.hints https://www.internic.net/domain/named.cache
$ unbound-host -C /etc/unbound/unbound.conf -v sigok.verteiltesysteme.net
The first output line should be something like the following. Note the word "secure".
sigok.verteiltesysteme.net has address 18.104.22.168 (secure)
$ unbound-host -C /etc/unbound/unbound.conf -v sigfail.verteiltesysteme.net
The first output line should be something like the following. Note the word "BOGUS".
sigfail.verteiltesysteme.net has address 22.214.171.124 (BOGUS (security failure))
Create local repository for AUR
Install the AUR package. Then create a local repository called
[options] CacheDir = /var/cache/pacman/pkg CacheDir = /var/cache/pacman/aur CleanMethod = KeepCurrent [aur] SigLevel = Optional TrustAll Server = file:///var/cache/pacman/aur
Include = /etc/pacman.d/aur
# mkdir -p /var/cache/pacman/aur # chown user:user /var/cache/pacman/aur $ cd /var/cache/pacman/aur $ repose -vf aur
Now use aurutils or aurbuild to create packages that are put in the local database.
Get notified when a package become an orphan.
[Trigger] Operation = Upgrade Operation = Install Operation = Remove Type = Package Target = * [Action] Description = Checking for orphans... When = PostTransaction Exec = /usr/bin/bash -c "/usr/bin/pacman -Qtd || true"
Clean up pacman cache on transactions.
[Trigger] Operation = Upgrade Operation = Install Operation = Remove Type = Package Target = * [Action] Description = Cleaning pacman cache... When = PostTransaction Exec = /usr/bin/paccache -rv
Get notified when a package is no longer in a repository.
[Trigger] Operation = Upgrade Operation = Install Operation = Remove Type = Package Target = * [Action] Description = Checking for dropped packages... When = PostTransaction Exec = /usr/bin/bash -c "/usr/bin/pacman -Qqm || true"