Skip to the workspace
Pebellslearn by building
Operating System  ›  Lesson

RHEL, Its Relatives and SUSE

RHEL / Derivatives 12 minThe RHEL family and SUSE both use rpm packages, managed with dnf and zypper respectively, while systemd keeps service commands the same across families.

devops / RHEL, Its Relatives and SUSE

Explore each scene at your own pace.

01 · The rule

The rule

RHEL, Its Relatives and SUSE

A company's older servers run Red Hat Enterprise Linux, and the new database cluster runs SUSE. You type apt install out of habit and get "command not found". Nothing is broken; you are simply talking to a different family.

The rule

Red Hat speaks rpm and dnf; SUSE speaks rpm and zypper.

RHEL (Red Hat Enterprise Linux) is a commercial distribution sold with a support subscription, popular in banks, governments and large companies. Around it sits a family:

  • Fedora: the fast-moving community distro where new ideas are tried first.
  • CentOS Stream: a preview of the next RHEL minor release.
  • Rocky Linux and AlmaLinux: free rebuilds designed to be compatible with RHEL.

They all use .rpm packages and the dnf tool, which replaced the older yum. On current releases, typing yum still works because it is kept as a compatible alias.

SUSE Linux Enterprise and the community openSUSE also use .rpm packages, but their tool is zypper.

Two other differences catch newcomers on RHEL-family servers:

  • The firewall is usually managed with firewall-cmd (firewalld), where Ubuntu often uses ufw.
  • SELinux is on by default. It can block a service from reading files or opening ports even when normal file permissions look correct.
Scene 1 of 5
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.