Redhat离线安装gcc

gcc安装包下载链接:https://pan.baidu.com/s/1JWh32h1hbnO87ADcDThl9g 密码:avf0

下载完传送到linux中,解压,解压完进入文件夹,执行以下命令,挨个执行

rpm -ivh lib64gmp3-4.3.1-1mdv2010.0.x86_64.rpm
rpm -ivh ppl-0.10.2-11.el6.x86_64.rpm
rpm -ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm
rpm -ivh mpfr-2.4.1-6.el6.x86_64.rpm
rpm -ivh cpp-4.4.7-4.el6.x86_64.rpm --force
rpm -ivh kernel-headers-2.6.32-431.el6.x86_64.rpm
rpm -ivh glibc-headers-2.12-1.132.el6.x86_64.rpm --nodeps --force
rpm -ivh glibc-devel-2.12-1.132.el6.x86_64.rpm --force --nodeps
rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm --force --nodeps
rpm -ivh libstdc++-devel-4.4.7-4.el6.x86_64.rpm --force --nodeps
rpm -ivh gcc-c++-4.4.7-4.el6.x86_64.rpm --force --nodeps

执行完后输入

gcc -v 检测是否安装成功

Redhat离线安装gcc_第1张图片

出现这个表示陈工!


转载:https://blog.csdn.net/u012373815/article/details/70217604

欢迎大家加入QQ群聊一起学习:551937103


你可能感兴趣的:(redis)