Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| rh124_package_management [2026/10/20 14:53] – [TO DO] rpjday | rh124_package_management [2026/10/29 12:33] (current) – [TO DO] rpjday | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| * add epel-release repo | * add epel-release repo | ||
| * dnf config-manager and editing config files | * dnf config-manager and editing config files | ||
| - | * flatpak | + | * dnf plugins |
| - | * no gpgcheck | + | |
| - | ===== Links ===== | + | ===== Helpful links ===== |
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| ===== The commands ===== | ===== The commands ===== | ||
| Line 19: | Line 19: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| - | ===== The config files and directories | + | ===== The currently enabled (or all) repositories |
| - | /etc yum and dnf repos | + | Jump ahead to '' |
| + | |||
| + | < | ||
| + | $ dnf repolist [--all] | ||
| + | repo id repo name | ||
| + | appstream | ||
| + | baseos | ||
| + | crb AlmaLinux 10 - CRB | ||
| + | extras | ||
| + | $ | ||
| + | </ | ||
| + | |||
| + | ===== The /etc config files and directories ===== | ||
| + | |||
| + | ==== /etc/yum* ==== | ||
| + | |||
| + | Deprecated in favour of '' | ||
| + | |||
| + | < | ||
| + | $ tree -F /etc/yum* | ||
| + | /etc/yum/ | ||
| + | ├── pluginconf.d -> ../ | ||
| + | ├── protected.d -> ../ | ||
| + | └── vars -> ../ | ||
| + | / | ||
| + | /etc/yum.repos.d/ | ||
| + | ├── almalinux-appstream.repo | ||
| + | ├── almalinux-baseos.repo | ||
| + | ├── almalinux-crb.repo | ||
| + | ├── almalinux-extras.repo | ||
| + | ├── almalinux-highavailability.repo | ||
| + | ├── almalinux-nfv.repo | ||
| + | ├── almalinux-rt.repo | ||
| + | ├── almalinux-saphana.repo | ||
| + | └── almalinux-sap.repo | ||
| + | $ | ||
| + | </ | ||
| + | |||
| + | Note that the repo files are still under yum, for backward compatibility: | ||
| + | |||
| + | ==== /etc/dnf ==== | ||
| + | |||
| + | < | ||
| + | $ tree -F /etc/dnf | ||
| + | /etc/dnf/ | ||
| + | ├── aliases.d/ | ||
| + | ├── dnf.conf | ||
| + | ├── modules.d/ | ||
| + | ├── modules.defaults.d/ | ||
| + | ├── plugins/ | ||
| + | │ ├── copr.conf | ||
| + | │ ├── copr.d/ | ||
| + | │ └── debuginfo-install.conf | ||
| + | ├── protected.d/ | ||
| + | │ ├── almalinux-release.conf | ||
| + | │ ├── grub2-pc.conf | ||
| + | │ ├── grub2-tools-minimal.conf | ||
| + | │ ├── selinux-policy-targeted.conf | ||
| + | │ ├── setup.conf | ||
| + | │ ├── sudo.conf | ||
| + | │ ├── systemd.conf | ||
| + | │ └── yum.conf | ||
| + | ├── usr-drift-protected-paths.d/ | ||
| + | └── vars/ | ||
| + | └── stream | ||
| + | $ | ||
| + | </ | ||
| ===== Possible EX200 tasks ===== | ===== Possible EX200 tasks ===== | ||
| Line 27: | Line 93: | ||
| * **Install and Remove RPM Packages**: Use DNF or RPM utilities to search for, install, query, verify, and uninstall RPM software packages. | * **Install and Remove RPM Packages**: Use DNF or RPM utilities to search for, install, query, verify, and uninstall RPM software packages. | ||
| * **Install from Local or Remote Sources**: Install software packages directly from the local file system, remote repositories, | * **Install from Local or Remote Sources**: Install software packages directly from the local file system, remote repositories, | ||
| - | * **Manage Flatpak Packages**: Configure Flatpak remote repositories and install, update, or remove Flatpak applications (featured in recent RHEL versions). | ||
| * **Persistence After Reboot**: Ensure all package management configurations, | * **Persistence After Reboot**: Ensure all package management configurations, | ||
| ===== Detailed package management pages ===== | ===== Detailed package management pages ===== | ||