]> jspc29.x-matter.uni-frankfurt.de Git - daqdocu.git/commitdiff
added gcc5 information, mt
authorMichael Traxler <M.Traxler@gsi.de>
Fri, 21 Apr 2017 19:43:19 +0000 (21:43 +0200)
committerMichael Traxler <M.Traxler@gsi.de>
Fri, 21 Apr 2017 19:43:19 +0000 (21:43 +0200)
trb3/trb3qs_suse.tex

index f5c04f675f0503c01c47cb3aaf6b4394166c530d..5946125b999c5c011981de974f09aa9de2056abe 100644 (file)
@@ -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]