Configure DNF
DNF (Dandified YUM) package manager is known to be slow. So change the DNF config using:
sudo vi /etc/dnf/dnf.conf- Details of various settings can be found in the official docs here
- At a minimum add the following:
sh
fastestmirror=True
max_parallel_downloads=10
defaultyes=True
keepcache=True- In case you want to clear your cache, you can use:
sh
sudo dnf clean dbcache- Update your system using:
sh
sudo dnf update- Enable RPM Fusion (provides accessibility to various software packages)
- Details found at this link.
- Command to setup RPM Fusion:
sh
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- Install AppStream metadata:
sh
sudo dnf groupupdate core- Enable FlatHub repository:
sh
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub/flatpakrepo- Change hostname:
sh
sudo hostnamectl set-hostname Pirate-Fedora- Add media codecs:
sh
sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
sudo dnf groupupdate sound-and-video