Linux中离线安装gcc
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
gcc在安装一些其他工具的经常用到,在此记录下如何安装gcc。
1.在线安装
yum -y install gcc
2.离线安装
2.1 获取安装包链接:
https://pan.baidu.com/s/1-ewZ0ldrwJvOVjLErJkG6g 提取码:xgx1
也可以自己去网站下载
mpfr-3.1.1-4.el7.x86_64.rpm
libmpc-1.0.1-3.el7.x86_64.rpm
kernel-headers-3.10.0-862.el7.x86_64.rpm
glibc-headers-2.17-222.el7.x86_64.rpm
glibc-devel-2.17-222.el7.x86_64.rpm
cpp-4.8.5-28.el7.x86_64.rpm
gcc-4.8.5-28.el7.x86_64.rpm
2.2 将这些安装包上传到服务器,执行
rpm -ivh *.rpm --nodeps --force
2.3 完成后输入
gcc-v
验证是否成功




A beautiful web dashboard for Linux
最近提交(Master分支:19 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)