Fedora is a community distribution sponsored by Red Hat. It tends to adopt new technology early, and much of it later reaches Red Hat Enterprise Linux. It suits people who want recent software with a polished, tested release.
Editions and variants
Fedora Workstation is the desktop edition and uses GNOME. Fedora Server targets servers. Since Fedora 42, KDE Plasma Desktop is also a full edition. Other desktops are offered as "spins", and there are image-based variants such as Fedora Silverblue, where the core system is updated as a whole.
Release cycle
A new Fedora release appears about every six months. Each is maintained until one month after the second following release comes out, so roughly 13 months. For example, release 40 ends about a month after release 42 arrives.
$ cat /etc/fedora-release
Fedora release 41 (Forty One)Plan to upgrade at least once a year.
Packages with DNF
Fedora uses RPM packages and the dnf tool. Fedora 41 and later use DNF5, so output and some options differ from older versions.
$ sudo dnf upgrade
$ sudo dnf install htop
$ dnf search htop
$ sudo dnf remove htopdnf upgrade updates installed packages to newer available versions.
Upgrading to a new release
First update the current system, then download the next release, then reboot into the upgrade. Replace 42 with your target version:
$ sudo dnf upgrade --refresh
$ sudo dnf system-upgrade download --releasever=42
$ sudo dnf system-upgrade rebootOn older releases you may need to install the system-upgrade plugin first. Read the official instructions at docs.fedoraproject.org and back up your files.
What is not included
Fedora ships free and open source software, plus certain redistributable firmware. Software with patent or licensing problems, such as some media codecs, is left out. Third-party repositories like RPM Fusion provide many of them. Flatpak is also supported for desktop applications.
Security defaults
SELinux is enforcing by default and firewalld runs on typical installs.
$ getenforce
Enforcing
$ sudo firewall-cmd --state
runningTry it
In a Fedora virtual machine, run cat /etc/fedora-release, sudo dnf upgrade and getenforce. Install a small package, check it with rpm -q, then remove it. For more work with packages and the file system layout, see the packages and disk lab.
Check your understanding
Fedora
All 5 sections ยท no timer
Unlimited retries
Questions from every section are combined into one assessment. Answer them all correctly to complete the article.
Your completion saves in this browser. Sign in to sync it to your account.