Ubuntu的源

根据个人理解,介绍一下“源”。源是在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

转载于:https://www.cnblogs.com/ITmonster/archive/2008/09/26/1299653.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Ubuntu的软件是一个包含软件包的在线仓库,用户可以从中下载和安装软件包。下面是Ubuntu代码的分析: 1. Ubuntu软件的格式如下: ``` deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse deb-src http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse ``` 其中,每一行都代表一个软件,deb表示二进制软件包,deb-src表示代码软件包。后面的URL是软件的地址,bionic是Ubuntu 18.04的代号,main、restricted、universe和multiverse是软件包的分类。 2. Ubuntu的发行版本代号 Ubuntu的发行版本代号是根据不同的Ubuntu版本有各自的代号,比如:14.04用trusty,16.04用xenial,18.04用bionic等。这些代号通常是由一个形容词和一个动物组成,比如bionic beaver(18.04)。 3. Ubuntu软件的更新 Ubuntu软件会定期更新,以提供最新的软件包和安全更新。用户可以使用apt-get update命令更新软件,然后使用apt-get upgrade命令升级软件包。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值