Ubuntu Linux 软件源详解


一开始装Ubuntu的时候,好多初学者不知道如何添加源,如此问题反反复复,新手又不怎么去GOOGLE,现在我把这些问题整理下,帮助新手理解并使用:

什么是 Ubuntu Linux 软件源
源,在ubuntu下,它就相当于软件库,需要什么软件,只要记得正确的软件名并且确定在ubuntu下肯定有的软件,就可以使用命令来安装软件的(当然也可以用新立得来安装)命令是:sudo apt -get install 软件名 ,比如说QQ,你不能输入成 sudo apt-get install qq ,这个是不对了,因为QQ没有 linux版的,只能用代替来实现,比如代替QQ的是EVA,代替DW的是nvu等,可以输入,sudo apt-get install eva 或者sudo apt-get install nvu,但要确定源里有没有这个软件,也就是说软件库里有没有这个软件,如果没有,那就要添加源了(至于如何添加,留在后面说)。,这样输入完成的话,下面的时间就只有等待安装,完成后,代替QQ的EVA就可以使用了,虽然功能少点,但能聊就已经不错了。删除软件是:sudo apt-get remove 软件名,如删 EVA ,输入 sudo apt-get remove eva .

如何为Ubuntu Linux 添加软件源
看了上面的讲解,大家应该明白什么是Ubuntu Linux 软件源了,并且也知道如何安装和删除软件了。如果你要的软件没有,那就通过添加源来解决这个问题,也就是放入更多的软件存入软件库里。

因为在图形界面里,常常有权限的问题,这个是很麻烦的,我个人喜欢用命令的方式来添加的,我就是用的Ubuntu.cn99.com更新服务器(江苏省常州市电信,推荐电信用户使用) ,查看更多的源请点击这里,其中源是以deb和deb-src开头然后加网址这样的一种格式,比如我取其中一个源,deb http://ubuntu.cn99.com/ubuntu/gutsy…..,这个就是源了,也就是软件库。

Ubuntu.cn99.com更新服务器(江苏省常州市电信,推荐电信用户使用):

deb http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ gutsy main restricted universe multiverse 

  • 1
  • 2
  • 下一页

相关内容