From: Michael Traxler Date: Fri, 21 Apr 2017 19:43:19 +0000 (+0200) Subject: added gcc5 information, mt X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=a3236c41c11e9797b34fff56cee8122eaa633eb9;p=daqdocu.git added gcc5 information, mt --- 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]