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.
- Update installed packages
I prefer the command line over the software center (which also works flawless).
sudo dnf updateDepending on the updates, a reboot could be needed.
- 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- 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- 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-dockAfter 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.
- 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 vulkanReboot 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.
If you use another brand (AMD or Intel), there is no need to install additional drivers, the preinstalled open source drivers works just fine.
- Optional software
For software, which is avaiable in the Fedora repositorys:
sudo dnf install gimp darktable virt-manager terminatorThere 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 # DiscordAlmost done. #
The procedure takes approx. 15-20 Minutes.