rh124_package_management

This is an old revision of the document!


RH124 Package Management

  • add epel-release repo
  • dnf config-manager and editing config files
  • flatpak
  • no gpgcheck
  • rpm
  • yum (deprecated in favour of …)
  • dnf
$ tree /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
$
$ tree /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
$
  • Configure RPM repositories: Set up, enable, or modify software repository definitions and access remote or local repository sources.
  • 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.
  • 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.
  • rh124_package_management.1792677837.txt.gz
  • Last modified: 2026/10/22 14:03
  • by rpjday