\begin{exe} {Finding Information About a Package}

   Using \textbf{dnf}  (and not \textbf{rpm} directly), find:

   \begin{enumerate}
      \item
      All packages that contain a reference to
      \textbf{bash} in their name or description.
      \item
      Installed and available \textbf{bash} packages.
      \item
      The package information for \textbf{bash}.
      \item
      The dependencies for the \textbf{bash} package.
   \end{enumerate}

   Try the commands you used above both as \texttt{root}
   and as a regular user. Do you notice any difference?

   \begin{sol}

      \begin{info}
         Depending on your distribution version, you may get
         some permission errors if you do not use
         \textbf{sudo} with the following commands, even
         though we are just getting information.

         \begin{cmd}
$ sudo dnf search bash
$ sudo dnf list bash
$ sudo dnf info bash
$ sudo dnf deplist bash
         \end{cmd}
      \end{info}
   \end{sol}
\end{exe}

