Wanting to improve my Linux skills after 17 months of daily driving Linux
I've been daily driving Linux for 17 months now (currently on Linux Mint). I have got very comfortable with basic commands and many just works distros (such as Linux Mint, or Pop!_OS) with apt as the package manager. I've tried Debian as a distro to try to challenge myself, but have always ran into issues. On my PC, I could never get wifi to work, which made it difficult to install properly. I've used it on my daily driver laptop, but ran into some issues. I thought a more advanced distro, that is still stable, would be good overall. However, not getting new software for a long time sounds quite annoying.
I'm wanting to challenge myself to get much better with Linux, partitioning, CLI, CLI tools, understanding the components of my system, trying tiling window managers, etc. I've been considering installing Arch the traditional way, on my X220, as a way to force myself to improve. Is this a good way to learn more about Linux and a Linux system in general? I always hear good things about the Arch Wiki. Is there any other tips someone can give me, to sharpen my Linux skills? I was even considering trying out Gentoo on my X220, but the compiling times sound painful. I wouldn't daily drive Gentoo or Arch, just yet, but I would try to use them as much as possible for general use.
I really like these suggestions, I've always wanted to contribute to FOSS software, but always felt underskilled. I will add this to my list of things to do to challenge my Linux and basic programming skills.
It's worth noting that the barrier to entry as a maintainer depends on which distro you're using at the time. It's not uncommon for a distro to have a community repository system, like PPAs in Ubuntu, AUR for Arch, MPR for Debian, etc. I'm not very familiar with Mint, and couldn't easily tell if it has its own or just uses PPAs from upstream.
It isn't especially taxing on programming skills, and if you don't pick too complex of a package, the Linux skills required shouldn't be wildly above your level, but may push you to learn some new things by digging a bit deeper. I haven't formally maintained public packages, but I've needed to build a few over my years using Linux, and it was easier than I'd expected to just build one. It may be easier than you think, too.
A using a spare desktop as a headless VM server would be a good way to practice your CLI skills. Don’t install a GUI, or web admin tool, and only use SSH to admin it.
From there, setup a couple of VMs for Arch or Gentoo testing. Eventually, a Linux From Scratch attempt would provide a lot of learning opportunities.
Try installing Gentoo. Follow their installation instructions. I was able to install it, but failed to install a DE. So, got a console going and couldn't go further. That was about 2 years ago. I have an extra laptop that I always install stuff on to learn.
"I’ve been considering installing Arch the traditional way, on my X220, as a way to force myself to improve."
I use Arch and so does my wife (she has no idea). The wiki is legendary because it is well used (I've written a few bits myself). I've used Gentoo for quite a while too but you will find compilation times a bit of a bore.
I own an IT company - I am the MD. I use Arch actually! (and so does my wife)
I really do recommend doing a Gentoo install at some point, because I think you would learn a lot from it. It’s a really nice experience and a well put together distro. The compiling is potentially not as bad as you think, but there are a couple of packages that are notoriously painful to compile (there are prebuilt binaries available for some of the painful ones if desired too). You’d probably get a decent amount out of an Arch install too. Arch isn’t my cup of tea, but lots of people like it and it’d be quicker to get started than Gentoo. I’m not sure I’d recommend it for you at this stage but eventually you should check out NixOS too! You can even try the package manager out on any distro you want. NixOS is really interesting, but it does things a bit different from other distros, and if you’ve done an Arch / Gentoo install it’ll be interesting to see what NixOS does in contrast.
Other things to mess with… You mention partitioning, so make sure to check out LVM, and also consider reading a bit about filesystems. Maybe give btrfs a go :).
I wouldn’t worry about daily driving either Gentoo or Arch. Once you have them set up you’ll probably be fine.
I don’t think it’s that clear cut to be honest. More code doesn’t mean the package benefits more from optimizations at all, and even if that were true you might care more about the performance of the kernel or various small libraries that are used by a lot of programs as opposed to how fast some random application that depends on qt-WebKit is:
Another vote for Arch. Manual Arch install was an interesting, and positive, experience. I did it multiple times so I could better understand what was actually being done. It helped me understand the boot and EFI partitions because I wanted to dual boot Windows.
For Arch itself, I've had a way snappier experience with pacman than apt and the AUR is a really convenient resource. So many packages there that you would otherwise have to build from source.
Bleeding edge packages can cause problems, but there are ways to recover. downgrade from the AUR makes downgrading packages really easy. The latest Nvidia drivers caused a bunch of problems with games for me on Wayland so I downgraded them and the Linux kernel and added them to pacman's package ignore list.
Installing arch is a great way to learn. Also don't be scared of daily driving it, it's not like it breaks twice a week. More like once a year, which is better than ubuntu in my experience.
Manual arch install was one of the best experiences I had on Linux so far. You learn so much (even more when you try to compare file systems for example to find the best one for you) from the wiki. I don’t know if I’ll be switching from it haha. I’m in the same boat as you, wanting to learn it more and more, hell I’m reading How Linux Works book haha. CLI file management is nice, but I still go back to GUI a lot cos it’s easier to drag and drop to another window instead of figuring out the path to copy to. Not gonna use it just for the sake of it lol Unless someone has tips. I’m all ears :)
Arch is pretty painless on the long run, almost everything is available when you combine AUR and official. I've had some package manager issues after not using my laptop for like 6 months but I believe it more a lack for arch knowledge rather than a problem for intermediate / advanced user.
What was frustrating, like in every single imperative distro it that I feel like the system isn't clean anymore after a while and I end up reinstalling or hoping for another distro.
What I found to daily drive everything rock solid but in a funny way is NixOS, which is declarative. If you have some time and curiosity I would recommend checking how it works. No more distro hoping / installs for me
I've been considering installing Arch the traditional way, on my X220, as a way to force myself to improve. Is this a good way to learn more about Linux and a Linux system in general?
Oh yes, that's exactly how I learnt. Also I have 1000+ edits in Arch Wiki, but stopped contributing to it (as well as AUR) few years ago.
It would be the OS (in this context) that you use most often on a daily basis. When the OP logs onto their computer, they would be using Linux as opposed to Windows.
Preferably for some kind of esoteric hardware that you own but no-one else has, but it'd also be a valuable experience to do it for some commonly used piece of hardware for which good Linux drivers already exist.
For any moderately talented programmer this should be a reasonably difficult exercise, which will teach you very valuable lessons about Linux (and be quite fun at the same time).
Debugging a kernel panic is not what most people consider “fun”. Especially with a non-zero chance of bricking your machine on bare metal if you mess up somewhere. I’ve done driver development for both Windows and Linux in both hobbyist and professional capacities and it’s not a fun experience to say the least.
I agree with what other people have said about using the command line more and the gui less, that will make you have to learn about utils like find, grep, sed, and maybe awk.
Try learning vim (or emacs). Use some command like tools for stuff you'd do in the gui. Try some basic scripting for common tasks. Maybe write some short python/ruby scripts if you need them. I've found that writing code has given me a need for learning more about how the command line works, and other "power user" features.
I first tried KDE Plasma 5 but tbh I thought it was just a worse experience than Win7, it was really close but all the tiny little annoyances got in the way and it felt like I couldn't do everything I needed through GUI so I still had to use terminal but it was awkward having to switch between using the keyboard and mouse and I would navigate through the GUI to get to directories then open terminal...
After a month or two of that I finally tried a tiling WM (i3wm) and it's just a way way better user experience than any DE.
I will note though that I'm using Fish for my interactive shell and seeing anything in the tiny dmenu was just way too hard until I used Rofi for drun.
Without Fish and Rofi I might've tried more DEs or even gone back to Win7.
I recently used Linux Mint with Cinnamon on a relative's PC and using Bash and the apt package manager sucks so bad. I even prefer Arch KDE, although I think Nemo is a bit better than Dolphin.
Anyway it's been about 2 years of daily driving Arch with i3wm for me and I haven't really gone out of my way to learn things but you naturally pick stuff up along the way just by using it.
Just make sure you've got another device with an internet connection in case something happens. I basically haven't had any issues after I got better but I made a lot of user errors at the start. Nothing that can't be fixed but finding out how to do the fixing without internet is a million times harder.