特殊:Badtitle/NS100:Repositories/Ubuntu/Breezy:修订间差异
小 新页面: {{From|https://help.ubuntu.com/community/Repositories/Ubuntu/Breezy}} {{Languages|UbuntuHelp:Repositories/Ubuntu/Breezy}} === Managing Repositories in Ubuntu === https://help.ubuntu.co... |
小无编辑摘要 |
||
(未显示同一用户的4个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/Repositories/Ubuntu/Breezy}} | {{From|https://help.ubuntu.com/community/Repositories/Ubuntu/Breezy}} | ||
{{Languages|UbuntuHelp:Repositories/Ubuntu/Breezy}} | {{Languages|UbuntuHelp:Repositories/Ubuntu/Breezy}} | ||
=== Managing Repositories in Ubuntu === | === Managing Repositories in Ubuntu === | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png '''Applies to: Ubuntu 5.10 (Breezy Badger) and earlier''' | https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png '''Applies to: Ubuntu 5.10 (Breezy Badger) and earlier''' | ||
See the [[UbuntuHelp:../| Managing Repositories]] wiki page for instructions for the current version of Ubuntu. | See the [[UbuntuHelp:../| Managing Repositories]] wiki page for instructions for the current version of Ubuntu. | ||
<br> | <br> | ||
=== Adding Universe and Multiverse === | === Adding Universe and Multiverse === | ||
* Depending on your version, select "Synaptic Package Manager" from the "Computer" > "System Configuration" or "System" > "Administration" menu. | * Depending on your version, select "Synaptic Package Manager" from the "Computer" > "System Configuration" or "System" > "Administration" menu. | ||
https://help.ubuntu.com/community/Repositories/Ubuntu/Breezy?action=AttachFile&do=get&target=hoary-synaptic.png | https://help.ubuntu.com/community/Repositories/Ubuntu/Breezy?action=AttachFile&do=get&target=hoary-synaptic.png | ||
* Choose the '''Repositories''' item in the '''Settings''' menu | * Choose the '''Repositories''' item in the '''Settings''' menu | ||
https://help.ubuntu.com/community/Repositories/Ubuntu/Breezy?action=AttachFile&do=get&target=breezy-syn-repos.png | https://help.ubuntu.com/community/Repositories/Ubuntu/Breezy?action=AttachFile&do=get&target=breezy-syn-repos.png | ||
* A list of repositories is shown. Click the '''Settings''' button at the bottom and tick '''Show disabled software sources'''. | * A list of repositories is shown. Click the '''Settings''' button at the bottom and tick '''Show disabled software sources'''. | ||
https://help.ubuntu.com/community/Repositories/Ubuntu/Breezy?action=AttachFile&do=get&target=breezy-checkbox.png | https://help.ubuntu.com/community/Repositories/Ubuntu/Breezy?action=AttachFile&do=get&target=breezy-checkbox.png | ||
* Click the '''Close''' button. You should now see checkboxes next to the repositories. Scroll down and enable the Universe repository by ticking the checkboxes next to the '''Community Maintained (Universe)''' entries. To enable the Multiverse repository, for each of the '''Community Maintained (Universe)''' entries click on the entry, click '''Edit''', then change the entry for '''Sections''' from "universe" to "universe multiverse". Click '''OK''' to save your settings. | * Click the '''Close''' button. You should now see checkboxes next to the repositories. Scroll down and enable the Universe repository by ticking the checkboxes next to the '''Community Maintained (Universe)''' entries. To enable the Multiverse repository, for each of the '''Community Maintained (Universe)''' entries click on the entry, click '''Edit''', then change the entry for '''Sections''' from "universe" to "universe multiverse". Click '''OK''' to save your settings. | ||
https://help.ubuntu.com/community/Repositories/Ubuntu/Breezy?action=AttachFile&do=get&target=breezy-universe.png | https://help.ubuntu.com/community/Repositories/Ubuntu/Breezy?action=AttachFile&do=get&target=breezy-universe.png | ||
* Save the changes and close the window by clicking '''OK'''. | * Save the changes and close the window by clicking '''OK'''. | ||
* Update the list of available packages with '''Reload''' in the '''Synaptic''' window. | * Update the list of available packages with '''Reload''' in the '''Synaptic''' window. | ||
https://help.ubuntu.com/community/Repositories/Ubuntu/Breezy?action=AttachFile&do=get&target=breezy-reload.png | https://help.ubuntu.com/community/Repositories/Ubuntu/Breezy?action=AttachFile&do=get&target=breezy-reload.png | ||
* Once the package list has been updated, packages from Universe and Multiverse can be installed. | * Once the package list has been updated, packages from Universe and Multiverse can be installed. | ||
<br> | <br> | ||
=== Adding Outside Repositories === | === Adding Outside Repositories === | ||
<br> | <br> | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=warning.png '''Note:''' some outside packages could [[UbuntuHelp:../#other| break your Ubuntu installation]]. | https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=warning.png '''Note:''' some outside packages could [[UbuntuHelp:../#other| break your Ubuntu installation]]. | ||
---- | ---- | ||
<br> | <br> | ||
* As above, select "Synaptic Package Manager" from the "Computer" > "System Configuration" or "System" > "Administration" menu (depending on your Ubuntu version). In Synaptic, choose the '''Repositories''' item from the '''Settings''' menu. | * As above, select "Synaptic Package Manager" from the "Computer" > "System Configuration" or "System" > "Administration" menu (depending on your Ubuntu version). In Synaptic, choose the '''Repositories''' item from the '''Settings''' menu. | ||
* You now see a window with a list of repositories. | * You now see a window with a list of repositories. | ||
* Click '''New''' to add a repository. | |||
* Click '''Custom''' in the dialog box that appears. | |||
<br> | <br> | ||
---- | ---- | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png '''Applies to Ubuntu 5.10 (Breezy Badger) and 5.04 (Hoary Hedgehog)''' | https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png '''Applies to Ubuntu 5.10 (Breezy Badger) and 5.04 (Hoary Hedgehog)''' | ||
Paste the the '''apt line''' (repository information) into the dialog box that appears. Usually, the repository's maintainer will provide an apt line in a form like the following example: | Paste the the '''apt line''' (repository information) into the dialog box that appears. Usually, the repository's maintainer will provide an apt line in a form like the following example: | ||
<pre><nowiki> | <pre><nowiki> | ||
deb http://www.grawert.net/ubuntu/ warty universe</nowiki></pre> | deb http://www.grawert.net/ubuntu/ warty universe</nowiki></pre> | ||
Click '''OK'''. | Click '''OK'''. | ||
<br> | <br> | ||
---- | ---- | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png '''Applies to Ubuntu 4.10 (Warty Warthog)''' | https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png '''Applies to Ubuntu 4.10 (Warty Warthog)''' | ||
<br> | <br> | ||
* You'll need to break the line down as follows: | * You'll need to break the line down as follows: | ||
* '''deb''' means it is a binary, so use the drop-down list to choose '''binary'''. Normally this is the default setting. | |||
* `http://www.grawert.net/ubuntu/` is the URI (Uniform Resource Identifier), i.e. the location of the repository on the internet for example. | |||
* '''warty''' is the name of the distribution it applies to. | |||
* '''universe''' is the name of the section of the repository we are interested in. There can be several sections, seperated by spaces. | |||
* Sometimes the repository line has less information though, as shown in the next example. | |||
<pre><nowiki> | <pre><nowiki> | ||
deb http://www.getsweaaa.com/~tseng/ubuntu/debs ./ </nowiki></pre> | deb http://www.getsweaaa.com/~tseng/ubuntu/debs ./ </nowiki></pre> | ||
* The first two fields (deb and URI) are similar to the example above. However, the release-name is "./" so just put this (without the quotes) in the release field of Synaptic. It looks weird, but simply specifies the release as being whatever is in the directory given by the URI. Note that there is no '''section''' information so just leave that text field blank in the dialog box entry. | |||
<br> | <br> | ||
---- | ---- | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png '''Applies to Ubuntu 5.10 and all earlier versions''' | https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png '''Applies to Ubuntu 5.10 and all earlier versions''' | ||
* Save the changes and close the window by clicking '''OK'''. | * Save the changes and close the window by clicking '''OK'''. | ||
* Update the list of avaible packages with '''Reload''' in the main window. | * Update the list of avaible packages with '''Reload''' in the main window. | ||
https://help.ubuntu.com/community/Repositories/Ubuntu/Breezy?action=AttachFile&do=get&target=breezy-reload.png | https://help.ubuntu.com/community/Repositories/Ubuntu/Breezy?action=AttachFile&do=get&target=breezy-reload.png | ||
* '''Done!''' | * '''Done!''' | ||
<br> | <br> | ||
=== Apt line Syntax === | === Apt line Syntax === | ||
* Only the '''section''' information of the apt line is optional, and then only with respect to the repository maintainer. If section information is available, it must be specifed on the apt line. In this case, the section field should not be left blank. | * Only the '''section''' information of the apt line is optional, and then only with respect to the repository maintainer. If section information is available, it must be specifed on the apt line. In this case, the section field should not be left blank. | ||
* If you make a mistake with the syntax in the fields you will get an error when you click the OK button in Synaptic. One cause is putting a trailing slash at the end of the URI. Also beware of leaving whitespaces at the beginning/end of the fields. | * If you make a mistake with the syntax in the fields you will get an error when you click the OK button in Synaptic. One cause is putting a trailing slash at the end of the URI. Also beware of leaving whitespaces at the beginning/end of the fields. | ||
<br> | <br> | ||
---- | ---- | ||
[[category:CategoryDocumentation]] | [[category:CategoryDocumentation]] [[category:CategoryCleanup]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2008年4月23日 (三) 11:55的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Repositories/Ubuntu/Breezy }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/af | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|Afrikaans| [[::Repositories/Ubuntu/Breezy/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/ar | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|العربية| [[::Repositories/Ubuntu/Breezy/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/az | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|azərbaycanca| [[::Repositories/Ubuntu/Breezy/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/bcc | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|جهلسری بلوچی| [[::Repositories/Ubuntu/Breezy/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/bg | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|български| [[::Repositories/Ubuntu/Breezy/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/br | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|brezhoneg| [[::Repositories/Ubuntu/Breezy/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/ca | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|català| [[::Repositories/Ubuntu/Breezy/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/cs | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|čeština| [[::Repositories/Ubuntu/Breezy/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/de | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|Deutsch| [[::Repositories/Ubuntu/Breezy/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/el | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|Ελληνικά| [[::Repositories/Ubuntu/Breezy/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/es | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|español| [[::Repositories/Ubuntu/Breezy/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/fa | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|فارسی| [[::Repositories/Ubuntu/Breezy/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/fi | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|suomi| [[::Repositories/Ubuntu/Breezy/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/fr | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|français| [[::Repositories/Ubuntu/Breezy/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/gu | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|ગુજરાતી| [[::Repositories/Ubuntu/Breezy/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/he | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|עברית| [[::Repositories/Ubuntu/Breezy/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/hu | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|magyar| [[::Repositories/Ubuntu/Breezy/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/id | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|Bahasa Indonesia| [[::Repositories/Ubuntu/Breezy/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/it | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|italiano| [[::Repositories/Ubuntu/Breezy/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/ja | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|日本語| [[::Repositories/Ubuntu/Breezy/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/ko | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|한국어| [[::Repositories/Ubuntu/Breezy/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/ksh | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|Ripoarisch| [[::Repositories/Ubuntu/Breezy/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/mr | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|मराठी| [[::Repositories/Ubuntu/Breezy/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/ms | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|Bahasa Melayu| [[::Repositories/Ubuntu/Breezy/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/nl | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|Nederlands| [[::Repositories/Ubuntu/Breezy/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/no | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|norsk| [[::Repositories/Ubuntu/Breezy/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/oc | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|occitan| [[::Repositories/Ubuntu/Breezy/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/pl | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|polski| [[::Repositories/Ubuntu/Breezy/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/pt | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|português| [[::Repositories/Ubuntu/Breezy/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/ro | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|română| [[::Repositories/Ubuntu/Breezy/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/ru | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|русский| [[::Repositories/Ubuntu/Breezy/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/si | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|සිංහල| [[::Repositories/Ubuntu/Breezy/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/sq | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|shqip| [[::Repositories/Ubuntu/Breezy/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/sr | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|српски / srpski| [[::Repositories/Ubuntu/Breezy/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/sv | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|svenska| [[::Repositories/Ubuntu/Breezy/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/th | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|ไทย| [[::Repositories/Ubuntu/Breezy/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/tr | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|Türkçe| [[::Repositories/Ubuntu/Breezy/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/vi | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|Tiếng Việt| [[::Repositories/Ubuntu/Breezy/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/yue | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|粵語| [[::Repositories/Ubuntu/Breezy/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/zh | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|中文| [[::Repositories/Ubuntu/Breezy/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/zh-hans | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|中文(简体)| [[::Repositories/Ubuntu/Breezy/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy | UbuntuHelp:Repositories/Ubuntu/Breezy | {{#if: | :}}Repositories/Ubuntu/Breezy}}/zh-hant | • {{#if: UbuntuHelp:Repositories/Ubuntu/Breezy|中文(繁體)| [[::Repositories/Ubuntu/Breezy/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Repositories/Ubuntu/Breezy|:Repositories/Ubuntu/Breezy|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Repositories/Ubuntu/Breezy/zh | | {{#ifexist: Repositories/Ubuntu/Breezy/zh | | {{#ifeq: {{#titleparts:Repositories/Ubuntu/Breezy|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Repositories/Ubuntu/Breezy|1|-1|}} | zh | | }}
Managing Repositories in Ubuntu
Applies to: Ubuntu 5.10 (Breezy Badger) and earlier
See the Managing Repositories wiki page for instructions for the current version of Ubuntu.
Adding Universe and Multiverse
- Depending on your version, select "Synaptic Package Manager" from the "Computer" > "System Configuration" or "System" > "Administration" menu.
- Choose the Repositories item in the Settings menu
- A list of repositories is shown. Click the Settings button at the bottom and tick Show disabled software sources.
- Click the Close button. You should now see checkboxes next to the repositories. Scroll down and enable the Universe repository by ticking the checkboxes next to the Community Maintained (Universe) entries. To enable the Multiverse repository, for each of the Community Maintained (Universe) entries click on the entry, click Edit, then change the entry for Sections from "universe" to "universe multiverse". Click OK to save your settings.
- Save the changes and close the window by clicking OK.
- Update the list of available packages with Reload in the Synaptic window.
- Once the package list has been updated, packages from Universe and Multiverse can be installed.
Adding Outside Repositories
Note: some outside packages could break your Ubuntu installation.
- As above, select "Synaptic Package Manager" from the "Computer" > "System Configuration" or "System" > "Administration" menu (depending on your Ubuntu version). In Synaptic, choose the Repositories item from the Settings menu.
- You now see a window with a list of repositories.
- Click New to add a repository.
- Click Custom in the dialog box that appears.
Applies to Ubuntu 5.10 (Breezy Badger) and 5.04 (Hoary Hedgehog) Paste the the apt line (repository information) into the dialog box that appears. Usually, the repository's maintainer will provide an apt line in a form like the following example:
deb http://www.grawert.net/ubuntu/ warty universe
Click OK.
Applies to Ubuntu 4.10 (Warty Warthog)
- You'll need to break the line down as follows:
- deb means it is a binary, so use the drop-down list to choose binary. Normally this is the default setting.
- `http://www.grawert.net/ubuntu/` is the URI (Uniform Resource Identifier), i.e. the location of the repository on the internet for example.
- warty is the name of the distribution it applies to.
- universe is the name of the section of the repository we are interested in. There can be several sections, seperated by spaces.
- Sometimes the repository line has less information though, as shown in the next example.
deb http://www.getsweaaa.com/~tseng/ubuntu/debs ./
- The first two fields (deb and URI) are similar to the example above. However, the release-name is "./" so just put this (without the quotes) in the release field of Synaptic. It looks weird, but simply specifies the release as being whatever is in the directory given by the URI. Note that there is no section information so just leave that text field blank in the dialog box entry.
Applies to Ubuntu 5.10 and all earlier versions
- Save the changes and close the window by clicking OK.
- Update the list of avaible packages with Reload in the main window.
- Done!
Apt line Syntax
- Only the section information of the apt line is optional, and then only with respect to the repository maintainer. If section information is available, it must be specifed on the apt line. In this case, the section field should not be left blank.
- If you make a mistake with the syntax in the fields you will get an error when you click the OK button in Synaptic. One cause is putting a trailing slash at the end of the URI. Also beware of leaving whitespaces at the beginning/end of the fields.