[已解决]在Ubuntu上g ++包安装失败 [英] [SOLVED] g++ package installation fail on Ubuntu

查看:476
本文介绍了[已解决]在Ubuntu上g ++包安装失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



当我运行 sudo apt-get install g ++ 终端显示时,我拥有的这么多软件包是最新版本在Ubuntu 12.10上。但即使我无法编译任何c ++文件。任何评论都非常感谢。



注意:这个Ubuntu 12.10安装在一个在Windows 7 64bit上设置的垂直框内运行

解决方案

我建​​议确保所有底层库和包都是最新的。试试这种方式:



 sudo apt-get update 
sudo apt-get upgrade
sudo apt-get install g ++





如果你还没有完成更新/升级一段时间,你的系统可能太不合作了,无法接受建议的新版本东西...


Hi all,

When I run sudo apt-get install g++ terminal display that so many packages I has are the newest version on Ubuntu 12.10. But even after I cannot compile any c++ files. Any comment on this highly appreciate.

Note: This Ubuntu 12.10 installation running inside a vertual box which is set up on Windows 7 64bit

解决方案

I would suggest making sure that all the underlying libraries and packages are up to date. Try it this way:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install g++



If you haven''t done the update/upgrade for a while, your system might be too uncooperative to accept the proposed new stuff...


这篇关于[已解决]在Ubuntu上g ++包安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆