CentOS/dnf: Difference between revisions
< CentOS
(Created page with "List All Available Packages: dnf list available --enablerepo=epel Search for a Specific Package: # Replace package-name with the name of the package you wish to find: dnf search package-name --enablerepo=epel Install a Package: # Replace package-name with the package to install: dnf install package-name --enablerepo=epel Check for Updates on Installed EPEL Packages: dnf check-update --enablerepo=epel If you need to remove the EPEL repositories, use the followin...") |
(No difference)
|
Latest revision as of 22:32, 20 November 2025
List All Available Packages:
dnf list available --enablerepo=epel
Search for a Specific Package:
# Replace package-name with the name of the package you wish to find: dnf search package-name --enablerepo=epel
Install a Package:
# Replace package-name with the package to install: dnf install package-name --enablerepo=epel
Check for Updates on Installed EPEL Packages:
dnf check-update --enablerepo=epel
If you need to remove the EPEL repositories, use the following commands:
# Remove EPEL: sudo dnf remove epel-release # Remove EPEL Next: sudo dnf remove epel-next-release
References: