\begin{exe} {Managing Groups of Packages}

   \begin{info}
      On \textbf{RHEL/CentOS} you may get some permission
      errors if you don't use \textbf{sudo} with some of the
      following commands, even when we are just getting
      information.
   \end{info}

   \textbf{dnf} provides the ability to manage groups of
   packages.
   \begin{enumerate}
      \item
      Use the following command to list all package
      groups available on your system:
      \begin{cmd}
$ dnf grouplist
      \end{cmd}
      \item
      Identify the \verb?Virtualization Host? group and generate
      the information about this group using the command
      \begin{cmd}
$ dnf groupinfo "Virtualization Host"
      \end{cmd}
      \item
      Install using:
      \begin{cmd}
$ sudo dnf groupinstall "Virtualization Host"
      \end{cmd}
      \item
      Identify a package group that's currently installed
      on your system and that you don't need. Remove it
      using \texttt{dnf groupremove} as in:
      \begin{cmd}
$ sudo dnf groupremove "Virtualization Host"
      \end{cmd}
      Note you will be prompted to confirm removal so you
      can safely type the command to see how it works.

      You may find that the \verb?groupremove? does \textbf{not}
      remove everything that was installed; whether this is a bug
      or a feature can be discussed.

   \end{enumerate}
\end{exe}

