Compilers

gfortran
tar xzf gcc-5.4.0.tar.gz cd gcc-4.6.2 ./contrib/download_prerequisites cd .. mkdir objdir cd objdir $PWD/../gcc-5.4.0/configure --prefix=$HOME/gcc-5.4.0 --enable-languages=c,c++,fortran,go make make install export GFORTRAN=/home/erik/gcc-5.4.0/bin PATH=$HOME/bin:$GFORTRAN:$PATH if [ -z "$LD_LIBRARY_PATH" ]; then LD_LIBRARY_PATH="/home/erik/gcc-5.4.0/lib/../lib64" else LD_LIBRARY_PATH="/home/erik/gcc-5.4.0/lib/../lib64:$LD_LIBRARY_PATH" fi export LD_LIBRARY_PATH export PATH
 * Download gcc tar.gz file https://ftp.gnu.org/gnu/gcc/
 * Configure and install according (the "make" step can take several hours)
 * Remember to configure the LD_LIBRARY_PATH for instance as (either in basrc or prefereble in a file "gcc-5.4.0.sh")
 * gfortran can then be activated by "source gcc-5.4.0.sh"