User Tools

Site Tools


Sidebar

tool:software:arch_linux

Arch Linux

Installation

※ If you have an existing /home + user, when you create a new user, take notes of the -m and -M flags for useradd. You don't want to use -m and some guides will tell you, 'cause that creates a new /home dir. You can use -M to be sure one won't be created.

※ Furthermore, if you have existing partitions don't mount them during installation, just add them to the /etc/fstab later.

Post-Installation

Fonts

Best font package/s to install? FIIK. Inconsolata, DejaVu???

※ Font dirs are ~/.local/share/fonts and /usr/share/fonts

  • Check logs: grep /fonts ~/.local/share/xorg/Xorg.0.log
  • Update font cache: fc-cache -fv
  • List known fonts: fc-list : file
Defaults

Set in ~/.config/fontconfig/fonts.conf, EG:

<match>
	<test name="family">
		<string>monospace</string>
	</test>
	<edit name="family" mode="assign" binding="strong">
		<string>DejaVu Sans Mono</string>
	</edit>
</match>

If you wanna mess with fontconf more, there's good info here: https://seasonofcode.com/posts/how-to-set-default-fonts-and-font-aliases-on-linux.html

For i3

  • acpi for battery block
  • xdotool for getting window info

Utils

  • A file manager
  • A web browser

Children

Antergos

Antergos is a basically Arch with a swish-o installer and an extra repo. It likes to Antergoserise (IE brand with it's wonky logo) things like Grub and LightDM, though that's repairable. It's easy enough to stop it it installing a bunch of extra stuff, as opposed to Manjaro(?).

It was a really good introduction to Linux for me!

Fixes

AUR

.SRCINFO and PKGBUILD mismatch

Errors like

:: [package name] package(s) failed to install.
:: ensure package version does not mismatch between .SRCINFO and PKGBUILD
:: ensure package name has a VCS suffix if this is a devel package

Are are pacaur problem, and can get gotten round by installing manually, or by using another helper

Trizen and YAY seem to be the helpers to go for now.

Free Space

To clear Pacman's cache pacman -Sc — you can use paccache -rk 2 to delete everything except the last two versions of a package, which is a good idea. paccache -ruk0 will remove everything for packages that are no longer installed.

To find orphan packages pacman -Qdt

Missing Files in Pacman Database

Just ran into a little problem where a disk error took out a bit of my pacman database.

This was giving me an error about a desc file every time I ran pacman, and blocking some parts of the process. using –force to reinstall the package didn't help, and I also was unable to remove it.

Thanks to this post I solved it by deleting the packages directory in /var/lib/pacman/local, and reinstalled the database only with pacman -U –dbonly [package].pkg.tar.xz

Speeding Up Package Building

tool/software/arch_linux.txt · Last modified: 2018/07/28 00:57 (external edit)