I'm currently trying to install some software (NUFEB) onto my home PC which is running Ubuntu version 19.10. This requires my computer to have the GNU C and C++ compilers gcc-5 and g++-5. I do not have these on this PC; I have gcc-9 and g++-9.
Does anyone know how I might be able to install g++-5 and gcc-5 on Ubuntu 19.10?
Please note that neither
sudo apt install g++-5
or
sudo apt-get install build-essentials
work!
./install-sedifoam.sh
? I don't have 19.10, but I just tried it on 18.04 withOMPI_CXX=/usr/bin/g++-9
and it didn't seem to complain (at least, not until after the link phase, when it complains aboutwmake
and$WM_OPTIONS
) – steeldriver Apr 02 '20 at 19:24$ git clone https://github.com/nufeb/NUFEB --recursive
... No issues, gcc -9.3.0 / mpixx -9.3.0 : $ ./install.sh – Knud Larsen Apr 02 '20 at 19:42