VMware 虚拟机下安装的ubuntu系统,在这基础上在安装g++

来源:互联网 发布:parsley.js ajax验证 编辑:程序博客网 时间:2024/06/15 18:27

查看哪些包被 build-essential依赖用命令:apt-cache depends build-essential输出如下:eric@eric-laptop:~/source$ apt-cache depends build-essentialbuild-essential |依赖: libc6-dev 依赖: <libc-dev> libc6-dev 依赖: g++ 依赖: make 依赖: dpkg-dev可知道, c库,g++编译器等会被安装. 安装方法sudo apt-get install build-essential



如果不行可以 sudo apt-get update 更新下源吧

原创粉丝点击