DNF package management
Octlitch uses DNF to manage the operating system and RPM packages.
System packages
Use DNF for system components, development tools, command-line software, drivers and packages provided by the Fedora repositories.
Octlitch uses DNF for system packages. KDE Discover is intended primarily for desktop applications installed through Flatpak.
Update the system
Refresh repository metadata and install available updates:
sudo dnf upgrade --refreshIt is a good idea to update regularly, especially for security fixes and kernel updates.
Search for a package
dnf search package-nameFor example:
dnf search gitInstall a package
sudo dnf install package-nameExample:
sudo dnf install gitRemove a package
sudo dnf remove package-nameDNF will show the packages that will be removed before asking for confirmation.
Package information
Display information about a package:
dnf info package-nameList installed packages
dnf list --installedYou can also check a specific installed RPM with:
rpm -q package-nameRepository information
Show enabled software repositories:
dnf repolistOctlitch uses Fedora repositories for the base operating system. Additional repositories may be configured for specific software.
Clean cached metadata
DNF normally manages its own cache automatically. If you need to clear downloaded repository metadata:
sudo dnf clean allRebooting after updates
A reboot is recommended after updates to important components such as the kernel, graphics stack or system libraries.
