uffriends.blogg.se

Linux install gfortran
Linux install gfortran













linux install gfortran linux install gfortran

IT did not want to overwrite the original installation so we installed to some network folder /gcc-5.3.0. It works! Latest version of GCC running from my local Linux user non-administrator account!Įdited to add how we resolved this for the network group: users/home/myself/gcc-5.3.0/bin/gfortran Test.f90 LD_LIBRARY_PATH=/users/home/myself/gcc-5.3.0/lib64įor now I am running gfortran with the following command but also I will add this to my. profile when I am ready to fully switch to the local newer version. įinally I need to run the following command, after it is all up so it looks at the new libraries. Then unzip them and link them as is done in the batch file you have already unzipped. Prerequisites need to be taken from here, placed into the root of the directory that gets created when you unzip GCC. gcc-5.3.0/configure -prefix$HOME/gcc-5.3.0 -enable-languages=c,c++,fortran -disable-multilibįor me I had to disable multilib because I guess my system only has 64 bit libraries (I think this was causing my original problem).īefore I got to that point, I had to also download the prerequisites manually since my workplace I suppose blocks the automatic prerequisite downloader as referenced in these instructions. The key was to install to my user root directory /GCC with the following command provided with the build-it-yourself method (-prefix). My friend was make install which knows where everything needs to go, which I did not have with the binaries. After much effort I have answered my own question! To install GCC to my own personal Linux account as a non-administrator, I ended up having to compile GCC and not use the binaries I originally downloaded.















Linux install gfortran