admin:linux:fedora

Fedora Linux

See also: dnf

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

https://fedoraproject.org/wiki/DNF_system_upgrade

Releases

  • Branched – next version of Fedora in the making, branches off from Rawhide
  • Rawhide – developer version, not recommended for usage unless you're a Fedora dev

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.

  • Xanmod – desktop-optimised Kernel, e.g. for gaming and video/3D editing.
dnf install light-locker
dnf remove xscreensaver-base
xfconf-query -c xfce4-session -p /general/LockCommand -s "light-locker-command -l" --create -t string
dnf remove kf5-akonadi*

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

see firewalld

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
dnf install python3-devel
python3 `which pip` install python-axolotl

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

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)

Solution: reboot, then try again. (Source)

  • Last modified: 2024-07-05 14:31