hi centos expert
how can i upgrade gfortran (and gcc) installed in my centos?
my centos is 7 and gfortran version is 4.8.5
in gnu website the last version of gfortran is 8.*
Many Thanks
samad
upgrade gcc and gfortran
Re: upgrade gcc and gfortran
Those are the versions we ship as part of the distro. Please see https://access.redhat.com/security/updates/backporting/ for information abou thow packages are managed in CentOS/RHEL and how they stay the same version from initial release until EOL.
If you need newer gcc etc then you may want to look at the various devtoolset SCL packages.
If you need newer gcc etc then you may want to look at the various devtoolset SCL packages.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 71
- Joined: 2015/10/06 11:17:19
Re: upgrade gcc and gfortran
Thanks for answer
I am new player and i am looking to simplest way to update gfortran. how can i do this
[samad@localhost ~]$ gfortran --version
GNU Fortran (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)
Copyright (C) 2015 Free Software Foundation, Inc.
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
Thanks in advance
samad
I am new player and i am looking to simplest way to update gfortran. how can i do this
[samad@localhost ~]$ gfortran --version
GNU Fortran (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)
Copyright (C) 2015 Free Software Foundation, Inc.
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
Thanks in advance
samad
-
- Posts: 215
- Joined: 2016/03/16 02:34:19
Re: upgrade gcc and gfortran
Either use the SCL repositories, or build GCC yourself. Those are really your only two options.
The latest available to us prepackaged is GCC 7, which can be found in devtoolset-7:
https://www.softwarecollections.org/en/ ... toolset-7/
Cheers,
Mike
The latest available to us prepackaged is GCC 7, which can be found in devtoolset-7:
https://www.softwarecollections.org/en/ ... toolset-7/
Cheers,
Mike
Solution Architect @RedHat | RHCE
Former SysAdmin @BlueSkyStudios and @Pixar
Feature animation and VFX enthusiast
--
Report CentOS Stream 8 bugs: https://da.gd/c8s-bugs
Report CentOS Stream 9 bugs: https://da.gd/c9s-bugs
Former SysAdmin @BlueSkyStudios and @Pixar
Feature animation and VFX enthusiast
--
Report CentOS Stream 8 bugs: https://da.gd/c8s-bugs
Report CentOS Stream 9 bugs: https://da.gd/c9s-bugs