Linux Lifehax
Arch, Debian and every other distro is almost identical.
(I have been asked to say that NixOS exists, the one and only mention of it is here. It is not like the others. And it is only useful for large deployments.)
What makes up a Linux system?
- Bootloader
- Kernel
- Init system
- Shell (may come as part of your init system)
- Package manager
- User software
Debian, Arch and Fedora are almost identical
- They all use:
- Grub
- A modern Linux Kernel
- Systemd
- Bash
- They all then pick a bunch of user software that goes on top of this.
Debian
Examples of forks that just look a bit different: Linux Mint, Ubuntu, Kali
Uses apt as the package manager, the packages are a bit older bit that means it tends to be a bit more stable.
Arch
Examples of forks that just look a bit different: Manjaro, Black Arch
Uses newer packages than Debian, and uses a funky package manager called pacman that allows you to add more malware/software to your system.
It is not secure by default.
Fedora
A more user friendly and modern version of REHL.
Comes with DNF as the package manager.
Comes with firewalld and selinux.
I have used all three and I can’t tell any real difference between them.
Alpine Linux
Alpine Linux is a minimal distro that works on just about anything.
It uses busybox as opposed to systemd and apk as it’s package manager.
It has a few other little quirks as well, but it will run on ANYTHING.
It’s main use is on servers.
Linux From Scratch
Build all your software from source.
If you want to learn more about the inner workings of Linux, this is a great place to go.
You may learn things even if you don’t want to install it.
https://www.linuxfromscratch.org/lfs/downloads/stable/LFS-BOOK-12.0-NOCHUNKS.html
You can compile almost any UNIX program for any version of Linux
How about the original version of VI?
It is possible to get a copy of the original VI source code from here:
[https://ex-vi.sourceforge.net]
You can get it to run on the lab machines, but you can’t install it because you don’t have sudo
.
You just need to make a couple of small changes to the Makefile.
Just don’t make your window too wide or tall as it will crash (it was designed for 80 column CRTs).
|
|
Compile with make all