MATLAB: How to install GCC compiler on Linux How do I install GCC compiler on Linux? Best Answer The GNU compiler (GCC) is included with many Linux distributions. However, if it is not, then run the following command based the Linux distribution. Sudo permissions will be needed for the installation.DEBIAN BASED (Ubuntu, Debian):apt-get install gccORsudo apt-get install gccRPM BASED (Fedora, Red Hat):yum install gccORsudo yum install gcc Related SolutionsMATLAB: Fortran mex for Matlab 2018b on Mac, OS 10.14.1 (Mojave) Gave up the intel fortran route, and managed to get my setup working with gfortran, using the presecriptions in https://www.mathworks.com/matlabcentral/answers/338303-how-to-set-up-mex-with-gfortran-on-mac#answer_285758Thank you so much! MATLAB: Do I see “error while loading shared libraries: libXss.so.1” when starting MATLAB on a Linux machine This issue will occur if you are missing the libXss.so.1 library, which is part of the libXScrnSaver package. To resolve this issue, run the command:sudo yum install libXScrnSaver Related QuestionMex -setup -v FORTRAN, Failure using R2014a with Win7, MSVS2013 sp1 and Intel Fotran Composer 2013 SP1
Best Answer