当前位置: 技术问答>linux和unix
redhat如何安装g++
来源: 互联网 发布时间:2016-10-21
本文导语: 小弟要在redhat上安装g++,要怎么安装啊? gcc已经安装上去来,命令gcc --help可以运行; 打g++ --help: -bash: g++: command not found 另外这个操作系统不能上网,有么有rpm的方式安装啊? 版本信息: gcc version 4.1.2 200807...
小弟要在redhat上安装g++,要怎么安装啊?
gcc已经安装上去来,命令gcc --help可以运行;
打g++ --help: -bash: g++: command not found
另外这个操作系统不能上网,有么有rpm的方式安装啊?
版本信息:
gcc version 4.1.2 20080704
Red Hat 4.1.2-48
gcc已经安装上去来,命令gcc --help可以运行;
打g++ --help: -bash: g++: command not found
另外这个操作系统不能上网,有么有rpm的方式安装啊?
版本信息:
gcc version 4.1.2 20080704
Red Hat 4.1.2-48
|
人家说了是redhat的linux 你还让用apt-get?
|
你怎么安装gcc的就怎么安装g++
Redhat系的linux里g++的包名字是gcc-c++
Redhat系的linux里g++的包名字是gcc-c++
|
在终端 输入 apt-get install g++
|
可以使用安装盘安装,在添加软件中找到添加就好了
|
顶,楼上的大大们把我的都说了