您的位置:首页 > 产品设计 > UI/UE

让ubuntu安装build-essential时不从光盘安装

2009-05-24 00:48 441 查看
安装sudo apt-get install build-essential时,会提示:
Media change: please insert the disc labeled
'Ubuntu 8.04.2 _Hardy Heron_ - Release i386 (20090121)'
in the drive '/cdrom/' and press enter
 
可以安装下面的方法解决:
you need to edit your sources file.
Of course you should always make a backup first.
Code:
sudo cp /etc/apt/sources.list sources.list.bak


At the top you will see a line that starts like:

deb cdrom: blah blah blah


put a # infront of it. Then save.

来自:http://ubuntuforums.org/showthread.php?t=436647
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: