Table of Contents

Fedora Linux

See also: dnf

system upgrade

dnf --refresh upgrade
dnf system-upgrade download --refresh --releasever=31
dnf system-upgrade reboot

https://fedoraproject.org/wiki/DNF_system_upgrade

Releases

Packages

Repositories

List of Fedora 3rd party repositories

RPMFusion

RPMFusion is a repository for Fedora with many packages not included in the default repositories. You can easily enable it via dnf.

COPR

User made repositories for stuff not found in official repos.

replace xscreensaver with light-locker

dnf install light-locker
dnf remove xscreensaver-base
xfconf-query -c xfce4-session -p /general/LockCommand -s "light-locker-command -l" --create -t string

remove KDE PIM applications

dnf remove kf5-akonadi*

– removes all PIM components including KDE calendar, KDE contacts and Kmail.

new services

firewall

see firewalld

Troubleshooting

nss-pem-1.0.3-6.fc27.x86_64 does not belong to a distupgrade repository

On upgrading Fedora 27→28, the aforementioned error occurs. This seems to be due to a bug related to dnf.

Solution:

dnf install nss-pem-1.0.3-9.fc28 --releasever=28

OMEMO doesn't work in Gajim

dnf install python3-devel
python3 `which pip` install python-axolotl

COPR

custom Fedora packages, similar to Ubuntu's PPAs

Enable with dnf copr enable user/repo

user/repo purpose
che/mesa current Mesa 3D compiled against current LLVM
che/llvm current LLVM from git

Bootloader

Default is GRUB2. Fedora docs: Working with the GRUB 2 Boot Loader

Config location: /etc/default/grub

Generate config: grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg (UEFI), grub2-mkconfig -o /boot/grub2/grub.cfg (MBR)

rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy

Solution: reboot, then try again. (Source)