\section{/opt}
\begin{frame}
   {/opt}


   \begin{itemize}
      \item Used for the installation of add-on
      application software packages
      \item Static files for a package must be in
      \filelink{/opt/[some package]} directory
      \begin{cmd}
$ ls -l /opt          
        \end{cmd}
      \begin{response}
total 20
drwxr-xr-x  4 root root  4096 Feb  4  2020 brother
drwxr-xr-x  4 root root  4096 Sep  1  2019 google
drwxr-xr-x 29 root root 12288 Jan 19 17:06 zoom
        \end{response}
   \end{itemize}

\end{frame}

\cprotect\note{

   This directory is designed for software packages that
   wish to keep all or most of their files in one isolated
   place rather than scatter them all over the system in
   directories shared by other software.

   For example, if \textbf{dolphy\_app} were the name of a
   package which resided under \filelink{/opt}, then all of
   its files should reside in directories under
   \filelink{/opt/dolphy_app}, including
   \filelink{/opt/dolphy_app/bin} for binaries and
   \filelink{/opt/dolphy_app/man} for any \textbf{man}
   pages.

   This can make both installing and uninstalling software
   relatively easy, as everything is in one convenient
   isolated location in a predictable and structured manner.
   It also makes it easier for system administrators to
   determine the nature of each file within a package.

   Note, however, if one uses packaging systems such as
   \textbf{RPM} and \textbf{APT}, as we shall discuss later,
   it is also easy to install and uninstall with a clear sense
   of file manifests and locations, without exhibiting such
   antisocial behavior.

   In \textbf{Linux}, the \filelink{/opt} directory is often
   used by application providers with either proprietary
   software, or those who like to avoid complications of
   distribution variance.  For example, on one system the
   packages are in \filelink{/opt/brother},
   \filelink{/opt/zoom} and \filelink{/opt/google} and the
   latter has subdirectories for \file{chrome} and \file{earth}.

   The directories \filelink{/opt/bin}, \filelink{/opt/doc},
   \filelink{/opt/include}, \filelink{/opt/info},
   \filelink{/opt/lib}, and \filelink{/opt/man} are reserved
   for local system administrator use.  Packages may provide
   files which are linked or copied to these reserved
   directories, but the packages must also be able to
   function without the programs being in these special
   directories.  Most systems do not populate these directories.
}



