Things to do after installing Fedora 42
- Fedora has disabled the repositories for a lot of free and non-free .rpm packages by default. Follow this if you want to use non-free software like Steam, Discord and some multimedia codecs etc. As a general rule of thumb it is advised to do this to get access to many mainstream useful programs.
- Enable third party repositories by pasting the following into the terminal:
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- also while you're at it, install app-stream metadata by:
sudo dnf group upgrade coresudo dnf4 group update core
- Go into the software center and click on update. Alternatively, you can do:
sudo dnf -y update- Reboot
- If your system supports firmware update delivery through lvfs, update your device firmware by:
sudo fwupdmgr refresh --force
sudo fwupdmgr get-devices # Lists devices with available updates.
sudo fwupdmgr get-updates # Fetches list of available updates.
sudo fwupdmgr update
- Fedora doesn't include all non-free flatpaks by default. The command below enables access to all the flathub flatpaks. Particularly useful for users of Fedora KDE and other spins since they do not get the "Enable Third Party Repositories" option on initial boot.
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
- For Appimage support install fuse:
sudo dnf in fuse- You can also install an AppImage manager like Gearlever for neater management. To do so, run the following command:
flatpak install it.mijorus.gearlever
- Install these to get proper multimedia playback.
sudo dnf4 group install multimedia
sudo dnf swap 'ffmpeg-free' 'ffmpeg' --allowerasing #
sudo dnf upgrade @multimedia --setopt="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
sudo dnf group install -y sound-and-video
- Helps decrease load on the CPU when watching videos online by alloting the rendering to the dGPU/iGPU. Quite helpful in increasing battery backup on laptops.
sudo dnf install ffmpeg-libs libva libva-utils
Intel
- If you have a recent Intel chipset (5th Gen and above) after installing the packages above., Do:
sudo dnf swap libva-intel-media-driver intel-media-driver --allowerasingsudo dnf install libva-intel-driver
AMD
No need to do this for intel integrated graphics. Mesa drivers are for AMD graphics, who lost support for h264/h245 in the fedora repositories in f38 due to legal concerns.- If you have an AMD chipset, after installing the packages above do:
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
sudo dnf install -y openh264 gstreamer1-plugin-openh264 mozilla-openh264sudo dnf config-manager setopt fedora-cisco-openh264.enabled=1- After this enable the OpenH264 Plugin in Firefox's settings.
Disabling it can decrease the boot time by at least ~15s-20s:
sudo systemctl disable NetworkManager-wait-online.service
sudo flatpak override --filesystem=xdg-config/gtk-3.0sudo flatpak override --filesystem=xdg-config/gtk-4.0