rh124_package_management

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rh124_package_management [2026/10/22 13:49] – [The config files and directories] rpjdayrh124_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://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html-single/managing_software_with_the_dnf_tool/index|Managing software with the DNF tool]]   * [[https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html-single/managing_software_with_the_dnf_tool/index|Managing software with the DNF tool]]
   * [[https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/managing_software_with_the_dnf_tool/dnf-commands-list|DNF commands list]]   * [[https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/managing_software_with_the_dnf_tool/dnf-commands-list|DNF commands list]]
   * [[https://docs.stg.fedoraproject.org/en-US/quick-docs/dnf/|Using the DNF software package manager]]   * [[https://docs.stg.fedoraproject.org/en-US/quick-docs/dnf/|Using the DNF software package manager]]
 +  * [[https://dnf.readthedocs.io/en/latest/command_ref.html|DNF Command Reference]]
  
 ===== The commands ===== ===== The commands =====
Line 19: Line 19:
   * ''yum'' (deprecated in favour of ...)   * ''yum'' (deprecated in favour of ...)
   * ''dnf''   * ''dnf''
-===== The config files and directories =====+===== The currently enabled (or all) repositories =====
  
-/etc yum and dnf directories+Jump ahead to ''dnf'' command briefly: 
 + 
 +<code> 
 +$ dnf repolist [--all] 
 +repo id                                    repo name 
 +appstream                                  AlmaLinux 10 - AppStream 
 +baseos                                     AlmaLinux 10 - BaseOS 
 +crb                                        AlmaLinux 10 - CRB 
 +extras                                     AlmaLinux 10 - Extras 
 +$ 
 +</code> 
 + 
 +===== The /etc config files and directories ===== 
 + 
 +==== /etc/yum* ==== 
 + 
 +Deprecated in favour of ''dnf'': 
 + 
 +<code> 
 +$ tree -F /etc/yum* 
 +/etc/yum/ 
 +├── pluginconf.d -> ../dnf/plugins/ 
 +├── protected.d -> ../dnf/protected.d/ 
 +└── vars -> ../dnf/vars/ 
 +/etc/yum.conf@  [error opening dir] 
 +/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 
 +$ 
 +</code> 
 + 
 +Note that the repo files are still under yum, for backward compatibility: 
 + 
 +==== /etc/dnf ==== 
 + 
 +<code> 
 +$ 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 
 +$ 
 +</code>
 ===== 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, or the Red Hat Content Delivery Network.   * **Install from Local or Remote Sources**: Install software packages directly from the local file system, remote repositories, or the Red Hat Content Delivery Network.
-  * **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, enabled repositories, and service adjustments persist across system reboots without manual intervention.   * **Persistence After Reboot**: Ensure all package management configurations, enabled repositories, and service adjustments persist across system reboots without manual intervention.
 ===== Detailed package management pages ===== ===== Detailed package management pages =====
Line 33: Line 98:
   * [[RH124 rpm]]   * [[RH124 rpm]]
   * [[RH124 dnf]]   * [[RH124 dnf]]
-  * [[RH124 flatpak]] 
  • rh124_package_management.1792676958.txt.gz
  • Last modified: 2026/10/22 13:49
  • by rpjday