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/22 14:10] – [/etc/yum*] 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 | + | |
| ===== Helpful links ===== | ===== Helpful links ===== | ||
| Line 13: | Line 12: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| ===== The commands ===== | ===== The commands ===== | ||
| Line 19: | Line 19: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| + | ===== The currently enabled (or all) repositories ===== | ||
| + | |||
| + | Jump ahead to '' | ||
| + | |||
| + | < | ||
| + | $ dnf repolist [--all] | ||
| + | repo id repo name | ||
| + | appstream | ||
| + | baseos | ||
| + | crb AlmaLinux 10 - CRB | ||
| + | extras | ||
| + | $ | ||
| + | </ | ||
| + | |||
| ===== The /etc config files and directories ===== | ===== The /etc config files and directories ===== | ||
| ==== /etc/yum* ==== | ==== /etc/yum* ==== | ||
| + | |||
| + | Deprecated in favour of '' | ||
| < | < | ||
| Line 42: | Line 58: | ||
| $ | $ | ||
| </ | </ | ||
| + | |||
| + | Note that the repo files are still under yum, for backward compatibility: | ||
| ==== /etc/dnf ==== | ==== /etc/dnf ==== | ||
| < | < | ||
| - | $ tree /etc/dnf | + | $ tree -F /etc/dnf |
| - | /etc/dnf | + | /etc/dnf/ |
| - | ├── aliases.d | + | ├── aliases.d/ |
| ├── dnf.conf | ├── dnf.conf | ||
| - | ├── modules.d | + | ├── modules.d/ |
| - | ├── modules.defaults.d | + | ├── modules.defaults.d/ |
| - | ├── plugins | + | ├── plugins/ |
| │ ├── copr.conf | │ ├── copr.conf | ||
| - | │ ├── copr.d | + | │ ├── copr.d/ |
| │ └── debuginfo-install.conf | │ └── debuginfo-install.conf | ||
| - | ├── protected.d | + | ├── protected.d/ |
| │ ├── almalinux-release.conf | │ ├── almalinux-release.conf | ||
| │ ├── grub2-pc.conf | │ ├── grub2-pc.conf | ||
| Line 65: | Line 83: | ||
| │ ├── systemd.conf | │ ├── systemd.conf | ||
| │ └── yum.conf | │ └── yum.conf | ||
| - | ├── usr-drift-protected-paths.d | + | ├── usr-drift-protected-paths.d/ |
| - | └── vars | + | └── vars/ |
| └── stream | └── stream | ||
| $ | $ | ||
| Line 75: | 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 ===== | ||
| Line 81: | Line 98: | ||
| * [[RH124 rpm]] | * [[RH124 rpm]] | ||
| * [[RH124 dnf]] | * [[RH124 dnf]] | ||
| - | * [[RH124 flatpak]] | ||