如何访问 "universe" 源 (Sounder CD 9)

参与到Ubuntu的翻译中来
回复
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

如何访问 "universe" 源 (Sounder CD 9)

#1

帖子 oneleaf » 2005-03-31 22:17

Many packages are in the universe repository. Here are instructions on how to enable this repository. It is not enabled by default.
Here are two methods. One does it all in Synaptic, while the other uses the command line. The end result of both methods is the same.

It is important to understand that you should not remove or replace anything. You must only ADD the universe entry. Do not remove main, or you won't be able to install main packages.

Be sure to read the section about universe at this web page: Components.

These instructions are for Sounder CD 9 and later; earlier releases have main restricted universe lines, which should be changed to simply universe.
Method 1: Using Synaptic

1. Start Synaptic by selecting:Computer -> System Configuration -> Synaptic Package Manager

2. In Synaptic, bring up the repositories window: Settings -> Repositories

3. You will see two repositories of type deb with the URL http://archive.ubuntu.com/ubuntu one of which is checked. Select one or the other, and see which one shows Section(s): universe

(It is probably the second one.) Enable that one. Now do the same thing for the two repositories of type deb-src with the same URI given above. Click on OK.

4. Now, still in Synaptic, click on Reload to update your local copy of the package database.

Method 2: Using the Command Line and an Editor

1. Edit the file /etc/apt/sources.list. Uncomment the two lines that end with universe. (You will see a comment about this in the file.)

2. In a terminal, give the command sudo apt-get update to update your local copy of the package database.
Other repositories

You may also want to enabled multiverse and restricted while you are enabling universe. Just add the text "multiverse restricted" after "universe" in the sources.list.

http://www.ubuntulinux.org/support/docu ... 5359349801
上次由 oneleaf 在 2005-04-12 8:44,总共编辑 1 次。
i3dmaster
帖子: 7
注册时间: 2005-04-09 15:02

译文如下:

#2

帖子 i3dmaster » 2005-04-11 6:48

译者: i3dmaster

有很多的包都在universe源下。那么下面就是怎么样配置这个源的步骤。这个源缺省是没有打开的。
这里有两种方法。一种是用Synaptic配置,另一种则是命令行。不管用哪种,结果都是一样的。

重要的一点是你要注意你不应该删除或是更改任何东西。只是增加universe源的条目。不要删除main的源,不然你就安装不了任何包了。

确定你已经认真阅读了组件这个网页中关于universe的部分。

下面这些步骤是为Sounder CD 9或之后的;在这之前的版本有main restricted universe行,只要简单的改成universe就行了。
方法一: 用Synaptic配置

1. 打开Synaptic: System (系统) -> System Configuration (系统管理) -> Synaptic Package Manager (新得利软件包管理器)

2. 在Synaptic中打开源配置窗口: Settings (配置) -> Repositories (源)

3. 你会看到有两个deb, URL是http://archive.ubuntu.com/ubuntu的源,其中一个已经选上了。选择其中一个或是另一个,
看看那个有universe的源。

(很有可能是第二个)就将那个选上。同样配置那些deb-src的源。然后选择ok.

4. 现在在Synaptic中,点击Reload(重新装载)来升级你本地的包数据库。


方法二: 用命令行和编辑器配置

1. 编辑/etc/apt/sources.list文件。取消有universe那两行的注释。(就是有#在行前的那两行)

2. 在终端下,运行这个命令: sudo apt-get update 同步更新本地的包数据库。

其他源

在你打开universe源的同时, 你可以打开multiverse和restricted的源。方法是在sources. list文件中universe的后面加上文字"multiverse restricted".
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#3

帖子 millenniumdark » 2006-08-01 4:39

应该已经有了
回复