From a3236c41c11e9797b34fff56cee8122eaa633eb9 Mon Sep 17 00:00:00 2001 From: Michael Traxler Date: Fri, 21 Apr 2017 21:43:19 +0200 Subject: [PATCH] added gcc5 information, mt --- trb3/trb3qs_suse.tex | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/trb3/trb3qs_suse.tex b/trb3/trb3qs_suse.tex index f5c04f6..5946125 100644 --- a/trb3/trb3qs_suse.tex +++ b/trb3/trb3qs_suse.tex @@ -73,6 +73,19 @@ Optional good stuff: sudo zypper install MozillaFirefox tmux x11vnc openbox lxpanel parcellite rxvt-unicode wireshark htop iptraf nmap iftop gkrellm xkill ncdu dnsmasq socat \end{lstlisting} +Unfortunately, root from CERN is not compatible with the modern compiler suite +gcc6. Therefore, one has to install and activate the gcc5. + +\begin{lstlisting}[label=,caption=gcc5] +zypper ar http://download.opensuse.org/repositories/devel:/gcc/openSUSE_Factory/ gcc_devel +zypper ref +zypper install gcc5 gcc5-c++ gcc5-fortran + +update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 20 +update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 20 +update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-5 20 +\end{lstlisting} + Now you can open a shell and make a full system update. Use the package manager \verb+zypper+. \begin{lstlisting}[label=,caption=Update SUSE] -- 2.43.0