Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 7. Removing RHEL content
In the following sections, learn how to remove content in Red Hat Enterprise Linux 10 by using the DNF software management tool.
7.1. Removing installed packages Copier lienLien copié sur presse-papiers!
You can use DNF to remove a single package or multiple packages installed on your system. If any of the packages you choose to remove have unused dependencies, DNF uninstalls these dependencies as well.
Procedure
Remove particular packages:
dnf remove <package_name_1> <package_name_2> ...
# dnf remove <package_name_1> <package_name_2> ...
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
7.2. Removing package groups Copier lienLien copié sur presse-papiers!
Package groups bundle multiple packages. You can use package groups to remove all packages assigned to a group in a single step.
Procedure
Remove package groups by the group name or group ID:
dnf group remove <group_name> <group_ID>
# dnf group remove <group_name> <group_ID>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow