根据个人理解,介绍一下“源”。源是在Ubuntu中通过apt-get或新得立软件包直接下载、安装软件包的网络资源集结点,全球关于Ubuntu的“源”有若干个,在我们国内,有cn99和一些高校服务器设立的源。利用源来搜索、获取、安装软件及其便捷,免去了大多数操作系统环境下通过网站搜索或是光盘安装的繁琐。
以下仅以java为例。
打开Ubuntu终端,在其中输入:sudo apt-get install sun-java6-sdk 回车后输入管理员密码即可。当然,在安装过程还会有一些具体提示,那也是非常简单的。
以下列出一些常用源
deb http://apt.ubuntu.org.tw/ubuntu dapper-updates main restricted universe multiverse
deb-src http://apt.ubuntu.org.tw/ubuntu dapper-updates main restricted universe multiverse
deb http://apt.ubuntu.org.tw/ubuntu dapper main universe multiverse restricted
deb-src http://apt.ubuntu.org.tw/ubuntu dapper main universe multiverse restricted
deb http://apt.ubuntu.org.tw/ubuntu dapper-backports main universe multiverse restricted
deb-src http://apt.ubuntu.org.tw/ubuntu dapper-backports main universe multiverse restricted
deb http://apt.ubuntu.org.tw/ubuntu dapper-security main restricted universe multiverse
deb-src http://apt.ubuntu.org.tw/ubuntu dapper-security main restricted universe multiverse
deb http://apt.ubuntu.org.tw ubtw/
deb http://apt.ubuntu.org.tw ubtw-dapper/
deb http://apt.ubuntu.org.tw ubtw-testing/
deb http://archive.ubuntu.org.cn/ubuntu/ dapper main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu/ dapper-security main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu/ dapper-updates main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu/ dapper-backports main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu-cn/ dapper main restricted universe multiverse
deb http://archive.ubuntu.org.cn/backports/ dapper-extras main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ dapper main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ dapper-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ dapper-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ dapper-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ dapper main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/backports/ dapper-extras main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ dapper main restricted universe multivers
deb http://ubuntu.cn99.com/ubuntu/ dapper main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ dapper main restricted universe multiverse
deb http://www.rarewares.org/debian/packages/unstable ./
deb http://deb.opera.com/opera/ unstable non-free
deb http://eros.vlo.gda.pl/~szuwarek/files/linux/bmpx/ dapper/
deb http://pkg-gnome.alioth.debian.org/debian/ experimental main