Refer below TechHut video:
dnf
is the package manager for Fedora. On a fresh install, DNF might seem slow/etc/dnf/dnf.conf
file to make it faster. You can refer my DNF config file as well as the DNF Configuration docs to see all available optionsFollow the instructions on RPM Fusion Configuration page to enable RPM Fusion repositories on Fedora
# Enable access to both the free and the nonfree repository
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
# On Fedora, the default is openh264, so we have to explicitly enable
sudo dnf config-manager --enable fedora-cisco-openh264
sudo dnf group update core
# Install additional multimedia plugins
sudo dnf group install Multimedia
# FFMPEG full
sudo dnf swap ffmpeg-free ffmpeg --allowerasing
sudo dnf install ffmpegthumbnailer
# Hardware codecs with AMD (mesa)
sudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld
sudo dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld
Flatpak is installed by default on Fedora, but you need to Enable Flathub for accessing a wider range of flatpaks. Refer Flatpak and Flathub instructions
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
Also refer GNOME-specific setup
The Text Editor is gnome-text-editor
instead of gedit
The Picture-in-Picture mode doesn’t work on Firefox in Fedora as Wayland doesn’t support it. Use the PiP on Top GNOME Shell extension to overcome it
Use two fingers on touchpad for Right-click
For C++, neither GCC nor Clang comes installed with Fedora. Follow Fedora developer docs to install. Use g++
and clang++
while compiling
sudo dnf install -y gcc-c++ # or clang
Java comes installed as openjdk-17
. Note that it has JRE NOT JDK (java
command works but javac
isn’t found)
Python (python3
, python
) is already installed; but NOT pip
. You can install as python3-pip
package
Save AppImages in ~/Applications/
folder
Development variants of packages have
-devel
suffix for RedHat-based distributions and-dev
suffix for Debian-based distributions. Refer this post
Fedora recently upgraded
dnf
to versiondnf5
in Fedora 41 release
Enter dnf -h
for all available commands
# Install package(s)
sudo dnf install package1 package2
# Update all packages
sudo dnf up
sudo dnf up --refresh --best
# List all installed packages (grep over it to search something specific)
dnf list --installed
# Search over available packages
dnf search jdk
# Get details about a package such as name, version, summary etc.
dnf info java-17-openjdk-fastdebug
# Remove package(s)
sudo dnf remove package1 package2
# Clear DNF cache (any of these two below)
sudo dnf clean all
# Rebuild dnf cache
sudo dnf makecache
Your repositories are stored in /etc/yum.repos.d/
as .repo
files. Run dnf repolist
to get list of your repositories
Enter flatpak -h
for all available commands
# Install a flatpak package
flatpak install md.obsidian.Obsidian
# Update all flatpak packages
flatpak update -y
# List all installed flatpak packages
flatpak list
# Search for a flatpak package
flatpak search obsidian
# Get details about a flatpak package
flatpak info md.obsidian.Obsidian
# Remove flatpak package
flatpak uninstall package1
dnf
packages to installsudo dnf install -y \
wget curl git gcc-c++ clang clang-tools-extra make cmake openssl zip unzip \
gnome-tweaks grub-customizer \
tmux zsh lua lua-devel neovim python3-neovim \
fastfetch btop htop nmap ddcutil dmidecode piper hwinfo info \
fzf bat jq eza ripgrep zoxide \
google-chrome-stable vlc
flatpak install \
org.gnome.FontManager \
com.mattjakeman.ExtensionManager \
md.obsidian.Obsidian \
com.discordapp.Discord \
com.jgraph.drawio.desktop