Fedora is a leading-edge Linux distribution. Unlike Debian or Ubuntu, its repositories contain fairly recent versions of most software. It is thus well-suited for desktop use, which is the scenario envisaged here.
sudo dnf upgrade --refresh
Always reboot your computer after installing updates, as not all programs can
be relaunched automatically.
If programs are not relaunched, they will remain on their current versions
and will not benefit from updated libraries.
sudo fwupdmgr refresh
To install any available updates:
sudo fwupdmgr update
You will be prompted to reboot to finish the installation process.
Firmware updates are issued by hardware vendors to fix bugs and correct security
flaws.
You should regularly check for firmware updates in addition to regular software
updates.
sudo dnf install langpacks-en_GB
To find the correct package for your language, click
here.
Fedora comes with nano and Vim preinstalled, both of which are horrible editors. Thankfully, you can install a sane editor like micro from the Fedora repositories using one of these commands:
# for X11 (XFCE etc.)
sudo dnf install micro xclip xsel
# for Wayland (GNOME, KDE etc.)
sudo dnf install micro wl-clipboard
xclip/xsel and wl-clipboard allow micro to integrate with the system clipboard.
While this is a nice idea, in practice security profiles are often incorrect or become outdated over time, leading to AVC denial alerts and program crashes. On Fedora especially, it is best to just disable SELinux and avoid installing programs of questionable origin. If you are running Fedora or another RHEL-style distribution on a production server, you can isolate network-facing processes using Bubblewrap, which is much easier to use than SELinux.
To disable SELinux, open /etc/selinux/config as root and change the SELinux entry from enforcing to disabled.
sudo micro /etc/selinux/config
Then reboot your computer.
RPM Fusion is a well-known third party project that provides such software. You can enable the repositories using the commands below.
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install rpmfusion-free-release-tainted
sudo dnf install rpmfusion-nonfree-release-tainted
You will need to install the proprietary driver corresponding to your model. If you don't know which model you have, you can use the following command:
/sbin/lspci | grep -e VGA
If you are on a laptop with hybrid ("Optimus") graphics, try this command
instead:
/sbin/lspci | grep -e 3D
Next, install any available updates using dnf and then reboot if your
system was not up-to-date.
If your GPU was made in 2014 or later, install the driver using this command:
sudo dnf install akmod-nvidia
After the installation has completed, wait until this command...
modinfo -F version nvidia
...displays an output similar to this...
440.64
...and NOT this!
modinfo: ERROR: Module nvidia not found.
Then reboot your computer.
These instructions apply to (current) GeForce, Quadro and Tesla models. This excludes Legacy GeForce 600/700 (and older) series cards.
While it is possible to install the proprietary NVIDIA driver on older cards, you may face problems when using the new Wayland sessions. The Fedora Project has shown little interest in further support for the older X.Org server sessions, so I highly recommend swapping out your card with a newer AMD or Intel Arc model for a more seamless experience. These manufacturers have released their drivers under open source licenses, which allows Fedora to include them by default, out-of-the-box.
sudo dnf swap ffmpeg-free ffmpeg --allowerasing
sudo dnf config-manager setopt fedora-cisco-openh264.enabled=1
sudo dnf group install multimedia --setopt="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
For Intel (Gen 6+/Skylake+) users:
sudo dnf install intel-media-driver
For older Intel:
sudo dnf install libva-intel-driver
For AMD users:
sudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld
sudo dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld
sudo dnf swap mesa-va-drivers.i686 mesa-va-drivers-freeworld.i686
sudo dnf swap mesa-vdpau-drivers.i686 mesa-vdpau-drivers-freeworld.i686
For NVIDIA users:
sudo dnf install libva-nvidia-driver.{i686,x86_64}
sudo dnf --repo=rpmfusion-nonfree-tainted install "*-firmware"
sudo firewall-cmd --remove-service=mdns --remove-service=ssh --remove-service=samba-client --permanent
sudo firewall-cmd --remove-port=1025-65535/tcp --remove-port=1025-65535/udp --permanent
sudo firewall-cmd --reload
The OpenSSH server, Avahi/mDNS and cups-browsed services should also
be disabled if they are not needed:
sudo systemctl mask --now avahi-daemon.socket avahi-daemon sshd cups-browsed
TLP is a tool which can improve your battery life by tweaking certain kernel parameters.
sudo dnf remove tuned tuned-ppd
sudo systemctl mask --now systemd-rfkill.socket systemd-rfkill
sudo dnf install tlp tlp-rdw
sudo systemctl enable --now tlp
mkdir -p ~/.config/autostart
micro ~/.config/autostart/org.mageia.dnfdragora-updater.desktop
Then paste the following:
[Desktop Entry]
Hidden=true
If you are using Wayland, I'm afraid you're out of luck. The font rendering will be hot garbage no matter what you do.
Thanks for visiting my website!
Belfast, United Kingdom
Copyright (C) 2024-2025 Indraj Gandham
Licensed under
CC BY-SA 4.0