š¾ Archived View for gemini.mcgillij.dev āŗ arch-after-6-months.gmi captured on 2023-11-04 at 11:23:42. Gemini links have been rewritten to link to archived content
ā¬ ļø Previous capture (2022-03-01)
-=-=-=-=-=-=-
:author:
mcgillij
:category:
Linux
:date:
2021-05-11 19:49
:tags:
Arch, Linux, #100DaysToOffload
:slug:
arch-after-6-months
:summary:
Recap / Review after 6 months of usage of Arch Linux
:cover_image:
arch.png
While, I like to keep an eye on whats happening in other distributions Iām not one to distro-hop much these days, since at the end of the day I still end up having to get some work done.
However over the Christmas holidays I snagged a new workstation, and it came time to install an OS on it. I toyed around a bit with a few distributions, just to make sure I wasnāt **missing** out on anything of particular note.
There is some interesting work going on in a few of the modern distroās which I was interested in seeing.
: has a very interesting way to package everything.
: **portage** has always interested me, but I donāt have unlimited time.
: I know this works, and is great.
: **pacman** is it all itās cracked up to be?
: still havenāt run any RedHat variant at home since version 5 maybe itās good now?
Iāve largely stuck to Debian as my primary home workstation driver for well over 20 years. But I figured with a new machine, time for a something a bit different possibly?
Each of the above distroās were considered and to a certain extent toyed with on my new workstation with varying degreeās of success.
A very interesting packaging structure, with everything being focusing on reproducibility and using a declarative language for itās configuration. This was almost what I ended up going with, and maybe in a couple years it will be. It just isnāt there for me right now as most of my development work is done in
. And the Python packaging situation on NixOS is a minor shit show to say the least. Things are getting better now with the advent of
however.
Gentoo, is super fun, and I wish I was 20 years younger to be able to run this full time. I love absolutely everything about gentoo, from being able to specify at a package level compilation parameters for everything. Even being able to select filtering on which packages I can install based on the **licenses** in the event that I was super anal about which license the packages are released with. I enjoy that it puts the choice clearly back in the users hands. However the copious amount of compiling required to get even the base system up and running is a bit of a deal breaker for me, since I like to keep my packages updated quite frequently.
My home since forever. But slow on the uptake for bleeding-edge packages and Kernels. Still my current choice of server OS.
Just no, not for me. I tried the new version (33 at the time, I know 34ās out now with the fancy new Gnome40(0 fucks given)). Fedoraās probably great for some people. I had to spend so much time just removing the pre-configured shit that I didnāt need that it wasnāt worth it for me.
However you want a really low maintenance distribution that feels like your at āworkā. By all means giver!
Finally Arch, has been getting better and better over the years. And I remember when it was a trainwreck. However those days are long gone it seems.
With rolling updates (a mandatory feature these days for me at least), support for bleeding-edge Linux kernels.
Possibly the single most interesting package manager of the bunch **pacman**.
Lets not forget the best part the documentation:
. Itās a rare treat these days for documentation to actually be the exciting part but it actually is.
The wiki is regularly updated and has really become somewhat of a defacto standard for modern Linux documentation regardless of which distribution that your using.
For me a distribution boils down to how it manages its packages and views on user choice.
Fedoraās package manager is fine, but the enforced choice of software that come *pre-packaged* with itās OS is too much for me to deal with. However a great many people may actually find that to be itās greatest feature.
Gentoo offers an almost ridiculous amount of choice, but being a source distribution requires more time in compiling that I have time for even with a great new processor at my disposal.
NixOS will be great soon and I canāt wait to try it out for longer. But it currently canāt meet my requirements without jumping through many hoops to support the language that I love writing my applications in.
Arch strikes an almost perfect balance of great package management and hands-off approach to choice. As an Arch user, you can choose what you want to be running at every step of the way much like Gentoo, however you arenāt **required** to compile all of the packages yourself (although you surely can if you really are into that).
With the addition of
itās hard to beat the available software in any distribution (although Nixās packages are getting up there!)
Since much of what you make of Arch is up to you. Everyoneās experience will likely be different. Having to learn a new package manager is always kinda lame at the end of the day.
Iāve grown to appreciate **pacman**, even though I think it should probably be split into several independent commands.
If I had to describe Arch to someone using only 1 word, it would be **pacman**. It just does everything. I donāt really think Iāve used anything else thatās Arch specific (with the exception of a handful of commands to build Arch packages, that could then be installed and managed with *pacman*).
Some of the previous material that Iāve written on Arch/pacman since switching:
Building AURās with a chroot
Installing Arch Linux blind after 20 years of Debian
Enough about that, hereās a couple more **pacman** nuggets.
If you ever wonderedā¦ Which config files have I modified on this system since Iāve installed it.
I call this one āwtf changedā
pacman -Qii | grep ^MODIFIED | cut -f2 /etc/fstab /etc/group /etc/hosts /etc/issue /etc/motd /etc/passwd /etc/resolv.conf /etc/shells /etc/locale.gen /etc/default/grub /etc/libvirt/qemu.conf /etc/lightdm/lightdm.conf /etc/pam.d/lightdm /etc/mkinitcpio.conf /etc/nut/ups.conf /etc/ssh/sshd_config /etc/pacman.conf /etc/pacman.d/mirrorlist /etc/security/limits.conf /etc/X11/xinit/xinitrc
I donāt think I would have been able to-do this as easily on Debian with any combination of *dpkg* and *apt*.
Hereās a simple one that I use quite often to remember if I have a package installed from Arch directly or from the AUR.
pacman -Qm amdfan 0.1.9-1 awesome-terminal-fonts-patched 1.0.0-2 colortail-git 20160223.3b76525e-1 cpufetch-git v0.94.r28.g7916e8c-1 ebtables 2.0.10_4-8 electron6 6.1.12-6 inxi 3.2.01.1-1 lagrange 1.3.0-1 libglade 2.6.4-7 progress-quest-bin 6.2-1 protontricks 1.4.4-1 py3status-amdfan 0.1.0-1 py3status-cpu-governor 0.1.2-1 py3status-github-notifications 0.1.0-1 py3status-http-monitor 0.1.2-1 py3status-ups-battery-status 0.1.2-1 pygtk 2.24.0-12 python-vdf 3.3-2 python2-gobject2 2.28.7-6 rpcs3 0.0.14-2 ruby-clocale 0.0.4-1 ruby-colorls 1.4.4-1 ruby-filesize 0.2.0-1 ruby-unicode-display_width 1.7.0-1 slack-desktop 4.12.0-1 syncplay 1.6.7-1 tty-clock 2.3-1 ucollage 0.1.0-2 whalebird 4.3.1-1
The above will show you all the packages that you have installed from AUR sources. And if you want to see your regular packages youāve install manually can use "pacman -Qe".
I may have covered this in a previous entry, although I use this quite often to find the dependencies of certain packages. Itās quite a simple one, but useful none-the-less.
pacman -Qi amdfan Name : amdfan Version : 0.1.9-1 Description : Python daemon for controlling the fans on amdgpu cards Architecture : any URL : https://github.com/mcgillij/amdfan Licenses : GPL2 Groups : None Provides : None Depends On : python python-yaml python-numpy python-rich python-click Optional Deps : None Required By : py3status-amdfan Optional For : None Conflicts With : None Replaces : None Installed Size : 33.04 KiB Packager : Unknown Packager Build Date : Sat 10 Apr 2021 09:21:25 PM ADT Install Date : Thu 06 May 2021 10:57:51 PM ADT Install Reason : Installed as a dependency for another package Install Script : No Validated By : None
Sometimes you just want to update the mirrors, this can be accomplished with "pacman -Syy", usually accompanied by a system update "pacman -Syu".
Again itās weird that one command has so much functionality, and flags and parameters however when you actually start using it, itās quite a blessing since there isnāt this much functionality in just about any other tool out there.
Enough about pacman and how awesome of a tool it is. We were speaking of Arch and reviewing a half year of usage with it. Iām still on the same installation. I update daily, and am quite impressed with the turn-around time for getting packages into the main distribution from the time of the upstream changes. I think youād be hard pressed to find another distribution with such efficient pipelines. This is perfect for a desktop for a person thatās willing to deal with bleeding edge bugs (however I havenāt run into any so far honestly).
Iād likely not run Arch on my servers, mainly due to the amount of tooling thatās already available for other distributions. That being said, if there was ever a modern desktop OS for me itās Arch Linux as it combines the functionality and ease-of-use of modern tooling and package management without compromising on user choice.
Lets touch back on this in another 6 months to see if I still feel the same way?