GNU/Linux >> Linux Esercitazione >  >> Linux

come installare gcc 4.9.2 su RHEL 7.4

Per installare i compilatori di sistema gcc, g++, il comando install è # yum install gcc-c++ → Fornisce la versione 4.8.5 :/usr/bin/{ gcc, g++ } .

Altre opzioni:1. gcc53-c++-5.3.0-1.el6.x86_64.rpm → https://drive.google.com/file/d/0B7S255p3kFXNRm9FVnZYUnhyZzg/view?usp=sharing&resourcekey=0-1N6zQa6Sbl_WycG1O9I7JA :Scarica e installa :# cd Downloads/ && yum install ./gcc53-c++-5.3.0-1.el6.x86_64.rpm ..... Fornisce /usr/bin/{gcc53, g++53} .

  1. The devtoolset´s :https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/ →# yum-config-manager --enable rhel-server-rhscl-7-rpms

Installa gcc, g++ versione 4.9.2 :# yum install devtoolset-3-gcc-c++

Nota:puoi avere tutte le versioni di gcc/g++ che desideri, installate contemporaneamente. (I compilatori di sistema sono un must.)

  1. gcc49-c++-4.9.3-1.el6.x86_64.rpm https://drive.google.com/file/d/1Pwq1ua80dGM72i7rpDNAIIdfcR1WK-hG/view?usp=sharing → Fornisce /usr/bin/{gcc49, g++49} .
  1. gcc63-c++-6.3.0-1.el7.x86_64.rpm https://drive.google.com/file/d/1t4WrgvpEP-6_NN3qMJhz9MS3CJhHrHKc/view?usp=sharing → Fornisce /usr/bin/{gcc63, g++63} .

  2. gcc45-c++-4.5.4-1.el7.x86_64.rpm https://drive.google.com/file/d/15aRg-BPhuyaEyZA9Jy-iAyC21_pwN7nD/view?usp=sharing → Fornisce /usr/bin/{gcc45, g++45, gfortran45}

  3. gcc42-c++-4.2.4-1.el6.x86_64.rpm https://drive.google.com/file/d/1eYWk6Nd63xeqqAUoJldNWRuwEGO6cAyv/view?usp=sharing → Fornisce /usr/bin/{gcc42, g++42}

  1. gcc73-c++-7.3.0-1.el7.x86_64.rpmhttps://drive.google.com/file/d/1PgwCP5tu8D0EJbJVTqJd7Vg8dJ4l4noi/view?usp=sharing → Fornisce /usr/bin/{gcc73, g++73}

  2. gcc48-c++-4.8.5-1.el6.x86_64.rpmhttps://drive.google.com/file/d/1w6fW6oSflDDYZt_cOpGj3QMEmzUC8Q9L/view?usp=sharing → Fornisce /usr/bin/{gcc48, g++48, gfortran48}

  3. gcc84-c++-8.4.0-1.el7.x86_64.rpm https://drive.google.com/file/d/1xgFtsiDi2uiB1B0AcOaSpxVizzET-pJf/view?usp=sharing → Fornisce /usr/bin/{gcc84, g++84, gfortran84}


yum install centos-release-scl-rh
yum install devtoolset-3-gcc devtoolset-3-gcc-c++
update-alternatives --install /usr/bin/gcc-4.9 gcc-4.9 /opt/rh/devtoolset-3/root/usr/bin/gcc 10
update-alternatives --install /usr/bin/g++-4.9 g++-4.9 /opt/rh/devtoolset-3/root/usr/bin/g++ 10

Linux
  1. Come installare RHEL 8 su VMware Workstation

  2. Come installare phpMyAdmin su RHEL 8 / CentOS 8

  3. Come installare P7Zip su RHEL 8 / CentOS 8

  4. Come installare ntfs-3g su RHEL 8 / CentOS 8

  5. Come installare Gcc 4.7?

Come installare cassandra su RHEL 8

Come installare il compositore su RHEL 8

Come installare gdb in RHEL 8

Come installare kafka su RHEL 8

Come installare GCC su Ubuntu

Come installare GCC su CentOS 7