Skill 1 in course 2.2: Operating System
Software Management
Query and install RPM packages, manage DNF repositories, and install Flatpak applications.
You will be able to
- Answer package questions with rpm: what owns this file, what does it contain, has it been changed.
- Install, update, remove and search for software with dnf, including from a local RPM file and package groups.
- Write a repository definition for a remote or local source, and troubleshoot a repository that will not work.
- Add a Flatpak remote, then install, list, run and remove a Flatpak application.
Lessons
- 01Asking questions of the RPM databaseFind which package owns a file, what a package contains, where its configuration lives and whether it has been altered.
rpmrpm -qrpm -qarpm -qirpm -qlrpm -qf0/5 exercises - 02Installing, updating and removing software with DNFSearch, install, update and remove packages and groups, install a local RPM with its dependencies, and undo a change.
dnfdnf installdnf removednf upgradednf searchdnf info0/6 exercises - 03Configuring repositories: remote, local and registeredTell DNF where packages come from with a .repo file, build a local repository from an ISO or a folder, and fix the usual errors.
/etc/yum.repos.ddnf repolistdnf config-managercreaterepo_cdnf clean allsubscription-manager0/5 exercises - 04Flatpak remotes and applicationsAdd a Flatpak remote, install an application from it, run it, update it and remove both again.
flatpakflatpak remote-addflatpak remotesflatpak searchflatpak installflatpak list0/5 exercises