Commit 62311309 authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Update packaging install in user guide.

parent c91b317e
......@@ -6,45 +6,51 @@ management utilities, such as Apt, if administrative access is
available.
\begin{enumerate}
\item Add the appropriate line for the Debian-based distribution to the end of
the file \inlsh{/etc/apt/sources.list}
\item Create a configuration file \texttt{/etc/apt/sources.list.d/nektar.list} containing the appropriate line from the following table.
{\small
\begin{tabular}{ll}
\begin{tabular}{p{2.7cm} p{11cm}}
\toprule
Distribution & Repository \\
\textbf{Distribution} & \textbf{Repository} \\
\midrule
Debian 10.0 (buster) &
\texttt{deb http://www.nektar.info/debian-buster buster contrib} \\
Debian 9.0 (stretch) &
\textbf{Debian 9.0} \newline (stretch) &
\texttt{deb http://www.nektar.info/debian-stretch stretch contrib} \\
Debian 8.0 (jessie) &
\texttt{deb http://www.nektar.info/debian-jessie jessie contrib} \\
Ubuntu 14.04 (trusty) &
\texttt{deb http://www.nektar.info/ubuntu-trusty trusty contrib}\\
Ubuntu 16.04 (xenial xerus) &
\textbf{Debian 10.0} \newline (buster) &
\texttt{deb http://www.nektar.info/debian-buster buster contrib} \\
\textbf{Debian 11.0} \newline (testing/bullseye) &
\texttt{deb http://www.nektar.info/debian-bullseye bullseye contrib} \\
\textbf{Debian} \newline (unstable) &
\texttt{deb http://www.nektar.info/debian-unstable unstable contrib} \\
\midrule
\textbf{Ubuntu 16.04} \newline (xenial xerus) &
\texttt{deb http://www.nektar.info/ubuntu-xenial xenial contrib}\\
Ubuntu 18.04 (bionic beaver) &
\textbf{Ubuntu 18.04} \newline (bionic beaver) &
\texttt{deb http://www.nektar.info/ubuntu-bionic bionic contrib}\\
\textbf{Ubuntu 20.04} \newline (focal fossa) &
\texttt{deb http://www.nektar.info/ubuntu-focal focal contrib}\\
\bottomrule
\end{tabular}
}
\item Update the main package list \texttt{/etc/apt/sources.list} to include the non-free component, by appending (if not already present) the word \texttt{non-free} after \texttt{main}.
\item Install the Nektar++ repository GPG key:
\begin{lstlisting}[style=BashInputStyle]
wget -qO- https://www.nektar.info/nektar-apt.gpg | sudo apt-key add -
\end{lstlisting}
\item Update the package lists
\begin{lstlisting}[style=BashInputStyle]
apt-get update
apt update
\end{lstlisting}
\item Install the required Nektar++ packages, or the complete suite with:
\begin{lstlisting}[style=BashInputStyle]
apt-get install nektar++
apt install nektar++
\end{lstlisting}
Any additional dependencies required for Nektar++ to function will be
automatically installed.
Any additional dependencies required by Nektar++ will be automatically installed.
% Hacky way to get an lstlisting to an argument of a macro
\newsavebox\installationDebTip
\begin{lrbox}{\installationDebTip}\begin{minipage}{0.8\linewidth}
\begin{lstlisting}[style=BashInputStyle]
apt-cache search nektar++
apt search nektar++
\end{lstlisting}
\end{minipage}
\end{lrbox}
......@@ -57,10 +63,9 @@ available.
\end{enumerate}
\section{Installing Redhat/Fedora Packages}
\section{Installing CentOS/Fedora Packages}
\label{s:installation:redhat}
Add a file to the directory \inlsh{/etc/yum.repos.d/nektar.repo} with the
following contents
Add a file \inlsh{nektar.repo} to the directory \inlsh{/etc/yum.repos.d/} with the following contents
\begin{lstlisting}[style=BashInputStyle]
[Nektar]
name=nektar
......@@ -74,8 +79,16 @@ substituting \inlsh{<baseurl>} for the appropriate line from the table below.
\toprule
Distribution & \inlsh{<baseurl>} \\
\midrule
Fedora 25 &
\texttt{http://www.nektar.info/fedora/25/\$basearch}\\
Centos 7 &
\texttt{http://www.nektar.info/centos/7/\$basearch}\\
Centos 8 &
\texttt{http://www.nektar.info/centos/8/\$basearch}\\
Fedora 30 &
\texttt{http://www.nektar.info/fedora/30/\$basearch}\\
Fedora 31 &
\texttt{http://www.nektar.info/fedora/31/\$basearch}\\
Fedora 32 &
\texttt{http://www.nektar.info/fedora/32/\$basearch}\\
\bottomrule
\end{tabular}
\end{center}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment