CentOS/dnf

From Omnia
Revision as of 22:32, 20 November 2025 by Kenneth (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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: