Difference between revisions of "Arch Linux"
From Athenaeum
(→AUR) |
(→AUR) |
||
Line 37: | Line 37: | ||
# When Perl gets updated you have to run this command for the previous perl version to get a list of all of the old modules: pacman -Qqo '/usr/lib/perl5/5.30' | # When Perl gets updated you have to run this command for the previous perl version to get a list of all of the old modules: pacman -Qqo '/usr/lib/perl5/5.30' | ||
# Then rebuild all of those modules: yay -a -S $Results_List | # Then rebuild all of those modules: yay -a -S $Results_List | ||
+ | |||
+ | * Turn off compression for makepkg - edit /etc/makepkg.conf and remove the xz from the end of PKGEXT |
Revision as of 17:44, 29 September 2019
Contents
Quirks
Now that dbus is no longer compiled with X11 support (Q4 2018) you have to call X11 apps like this:
sudo dbus-launch --exit-with-session nemo
Time
NTPd has been supplanted by Chrony and should not be used to serve time to clients.
If all that is required is a basic time client systemd's timesyncd should be used as it is the most lightweight.
systemd-timesyncd
- The default NTP settings are compiled in by the vendor and can be overriden via /etc/systemd/timesyncd.conf
- The most common commands are `timedatectl show-timesync` and `timedatectl set-ntp`
chrony
Packaging
- Recursively remove the package without saving any backups and also remove unneeded dependencies `pacman -Rnsu noto-fonts`
- Recursively removing orphans and their configuration files:
- pacman -Rns $(pacman -Qtdq)
- If no orphans were found pacman outputs error: no targets specified. This is expected as no arguments were passed to pacman -Rns.
- Note: The arguments -Qt list only true orphans. To include packages which are optionally required by another package, pass the -t flag twice (i.e., -Qtt).
Updating Mirrors
reflector -c US --fastest 5 --age 48 --protocol http --sort rate --verbose --save /etc/pacman.d/mirrorlist
Pacman Entropy
1. Open a terminal as root and runpacman-key --init
cat /dev/sda > /dev/null
- After about 1 minute the kernel will have enough "true" entropy to finish the command.
pacman-key --populate archlinux
AUR
- You can automatically scan for updates to your aur installed packages with 'yay -a -Syu'
- Dealing with a Perl update
- When Perl gets updated you have to run this command for the previous perl version to get a list of all of the old modules: pacman -Qqo '/usr/lib/perl5/5.30'
- Then rebuild all of those modules: yay -a -S $Results_List
- Turn off compression for makepkg - edit /etc/makepkg.conf and remove the xz from the end of PKGEXT