Fedora - first steps

I recently gave Fedora with GNOME and Wayland a try. As every other distribution, there are some tweaks to be done after an fresh installation. These are my first steps and settings, which should also work for future distribution releases.

  1. Update installed packages

I prefer the command line over the software center (which also works flawless).

sudo dnf update

Depending on the updates, a reboot could be needed.

  1. Enable nonfree repositorys
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 upgrade --refresh
sudo dnf groupupdate core
  1. Install nonfree plugins for media playback
sudo dnf install gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel -y
sudo dnf install lame\* --exclude=lame-devel
sudo dnf group upgrade --with-optional Multimedia
  1. GNOME tweaks

I really liked the usability of Ubuntu in the past, thanks to gnome-tweaks and the GNOME extension dash-to-dock I can add the same usability feeling also in Fedora:

sudo dnf install -y gnome-extensions-app gnome-tweaks gnome-shell-extension-dash-to-dock

After installing the packages, logout from GNOME to reload the extensions library. After login, we have to enable the dash-to-dock extension in gnome-extensions-app. In the tweaks application, I ususally activate the minimize/maximize titlebar buttons, set the superkey to ALT and activate the option to resize windows with the secondary mouse button.

  1. Install proprietary GPU driver (Nvidia)
sudo dnf install akmod-nvidia
sudo dnf install xorg-x11-drv-nvidia-cuda
sudo dnf install xorg-x11-drv-nvidia-cuda-libs
sudo dnf install vdpauinfo libva-vdpau-driver libva-utils
sudo dnf install vulkan

Reboot after the installation. I also activate “GNOME on Wayland” in the login-manager.

Keep in mind:

Please remember to wait after the RPM transaction ends, until the kmod get built. This can take up to 5 minutes on some systems.

Once the module is built, “modinfo -F version nvidia” should outputs the version of the driver such as 440.64 and not modinfo: ERROR: Module nvidia not found.

https://rpmfusion.org/Howto/NVIDIA#Installing_the_drivers

If you use another brand (AMD or Intel), there is no need to install additional drivers, the preinstalled open source drivers works just fine.

  1. Optional software

For software, which is avaiable in the Fedora repositorys:

sudo dnf install gimp darktable virt-manager terminator

There is sadly no replacement like the AUR in Arch Linux, therefore I use Flatpak for the installation of software outside of the repositorys.

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub com.spotify.Client       # Spotify
flatpak install flathub com.vscodium.codium      # VSCodium
flatpak install flathub com.discordapp.Discord   # Discord

Almost done. #

The procedure takes approx. 15-20 Minutes.