\begin{exe} {Basic dnf Commands}

   \begin{enumerate}
      \item
      Check to see if there are any available updates for
      your system.
      \item
      Update a particular package.

      \item
      List all installed kernel-related packages, and list
      all installed or available ones.
      \item
      Install the \textbf{httpd-devel} package, or anything
      else you might not have installed yet.  Doing a simple:
      \begin{cmd}
$ sudo dnf list
      \end{cmd}
      will let you see a complete list; you may want to give a wildcard
      argument to narrow the list.
   \end{enumerate}

   \begin{sol}

      \begin{enumerate}
         \item
         \begin{cmd}
$ sudo dnf update
$ sudo dnf check-update
$ sudo dnf list updates
         \end{cmd}
         Only the first form will try to do the installations.
         \item
         \begin{cmd}
$ sudo dnf update bash
         \end{cmd}
         \item
         \begin{cmd}
$ sudo dnf list installed "kernel*"
$ sudo dnf list "kernel*"
         \end{cmd}
         \item
         \begin{cmd}
$ sudo dnf install httpd-devel
         \end{cmd}
      \end{enumerate}

   \end{sol}

\end{exe}

