我是靠谱客的博主 彪壮春天,这篇文章主要介绍Linux Ubuntu 14.04中安装GCC 和 G++ C++ 开发环境,现在分享给大家,希望可以做个参考。

Linux Ubuntu 14.04中安装GCC 和 G++ C++ 开发环境

在Ubuntu环境下,打开终端Ctrl+Alt+T
1.先安装 :
sudo apt-get install build-essential
2.看版本:
gcc --version
g++ --version
3.若安装:
sudo apt-get install gcc-4.8.4
sudo apt-get install g+±4.8.4
4.看版本:
gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4
Copyright © 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

g++ --version
g++ (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4
Copyright © 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

安装完成

最后

以上就是彪壮春天最近收集整理的关于Linux Ubuntu 14.04中安装GCC 和 G++ C++ 开发环境的全部内容,更多相关Linux内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(115)

评论列表共有 0 条评论

立即
投稿
返回
顶部