Unix (1969) is the ancestor. Linux is a kernel (1991) that, glued to GNU tools, became the OS. Every "distro" below is the same kernel + GNU base, dressed differently. macOS is a cousin, not a child — it descends from BSD Unix, which is why your Mac terminal feels familiar.
apt → dnf → pacman → emerge) and release philosophy. Kernel, shell, filesystem, SSH, and 90% of commands are identical everywhere.Five layers, bottom to top. Coming from Ubuntu, you already know all of these — only the package layer differs by distro.
| Term | What it is | Same across distros? |
|---|---|---|
| kernel | The core program controlling hardware, memory, processes. Literally "Linux." | Yes (version varies) |
| shell | The command interpreter you type into (bash, zsh). | Yes |
| system / init | Boots the machine and supervises background services. Usually systemd. | Mostly |
| lib | Shared libraries — reusable code apps depend on (e.g. glibc). | Yes |
| app | Anything you run on top: editors, browsers, Claude Code. | Yes |
| package mgr | Installs/updates software. apt/dnf/pacman. | No — this is the main thing to relearn |
There are no drive letters. One tree starts at root /. This layout (the "FHS") is the same on every distro and even similar on macOS.
/home/john (your stuff) and /etc (config). Two that confuse newcomers: /dev and /proc /sys aren't real files on disk — they're the kernel pretending to be files so you can read hardware/process state with normal tools.| Distro | Family | Pkg mgr | Difficulty | Best for / note | Claude install |
|---|---|---|---|---|---|
| Ubuntu | Debian | apt | easy | What you know. Safe, huge community. 7450 is officially certified. | .deb |
| Fedora | Red Hat | dnf | easy-mid | Recommended. Teaches the RHEL/rpm half of industry; current tools. | .rpm |
| Arch | independent | pacman | hard | Build it yourself, learn deeply. Famous wiki. Rolling = always newest. | AUR |
| Gentoo | independent | emerge | expert | Compile everything from source. Maximal control, maximal time cost. | manual |
| RHEL | Red Hat | dnf | mid | The paid enterprise standard. Learn via free Fedora/Rocky instead. | .rpm |
| Scientific Linux | Red Hat | yum | dead | EOL June 2024. Use AlmaLinux / Rocky / CentOS Stream instead. | — |
YOUR QUESTIONS, ANSWERED
CLAUDE ON LINUX
.deb, .rpm, AUR, AppImage (unofficial — review the source).Almost everything transfers. The gap is the package manager.
| Task | Ubuntu (apt) | Fedora (dnf) | Arch (pacman) |
|---|---|---|---|
| Update everything | apt update && apt upgrade | dnf upgrade | pacman -Syu |
| Install a package | apt install vim | dnf install vim | pacman -S vim |
| Remove a package | apt remove vim | dnf remove vim | pacman -R vim |
| Search | apt search vim | dnf search vim | pacman -Ss vim |
UNCHANGED FROM UBUNTU ✓
The shell & all GNU commands · the / filesystem layout · ssh, git, vim, cron · systemd (systemctl, journalctl) · file permissions & sudo · your dotfiles in /home/john. If you can drive Ubuntu's terminal, you can drive any of them within an hour.