系统版本环境:
# lsb_release -a
LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Release: 5.4
Codename: Tikanga
系统位数:
# getconf LONG_BIT
64
安装步骤:
按顺序使用如下命令安装
# rpm -ivh --force 1xxxxxxxxx.rpm
检查gcc版本
# gcc -v
...
gcc 版本 4.1.2 20080704 (Red Hat 4.1.2-44)
1