特殊:Badtitle/NS100:Repositories
![]() |
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Repositories }} |
![]() |
点击翻译: |
English {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/af | • {{#if: php5|Afrikaans| [[::Repositories/af|Afrikaans]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/ar | • {{#if: php5|العربية| [[::Repositories/ar|العربية]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/az | • {{#if: php5|azərbaycanca| [[::Repositories/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/bcc | • {{#if: php5|جهلسری بلوچی| [[::Repositories/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/bg | • {{#if: php5|български| [[::Repositories/bg|български]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/br | • {{#if: php5|brezhoneg| [[::Repositories/br|brezhoneg]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/ca | • {{#if: php5|català| [[::Repositories/ca|català]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/cs | • {{#if: php5|čeština| [[::Repositories/cs|čeština]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/de | • {{#if: php5|Deutsch| [[::Repositories/de|Deutsch]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/el | • {{#if: php5|Ελληνικά| [[::Repositories/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/es | • {{#if: php5|español| [[::Repositories/es|español]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/fa | • {{#if: php5|فارسی| [[::Repositories/fa|فارسی]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/fi | • {{#if: php5|suomi| [[::Repositories/fi|suomi]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/fr | • {{#if: php5|français| [[::Repositories/fr|français]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/gu | • {{#if: php5|ગુજરાતી| [[::Repositories/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/he | • {{#if: php5|עברית| [[::Repositories/he|עברית]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/hu | • {{#if: php5|magyar| [[::Repositories/hu|magyar]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/id | • {{#if: php5|Bahasa Indonesia| [[::Repositories/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/it | • {{#if: php5|italiano| [[::Repositories/it|italiano]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/ja | • {{#if: php5|日本語| [[::Repositories/ja|日本語]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/ko | • {{#if: php5|한국어| [[::Repositories/ko|한국어]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/ksh | • {{#if: php5|Ripoarisch| [[::Repositories/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/mr | • {{#if: php5|मराठी| [[::Repositories/mr|मराठी]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/ms | • {{#if: php5|Bahasa Melayu| [[::Repositories/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/nl | • {{#if: php5|Nederlands| [[::Repositories/nl|Nederlands]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/no | • {{#if: php5|norsk| [[::Repositories/no|norsk]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/oc | • {{#if: php5|occitan| [[::Repositories/oc|occitan]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/pl | • {{#if: php5|polski| [[::Repositories/pl|polski]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/pt | • {{#if: php5|português| [[::Repositories/pt|português]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/ro | • {{#if: php5|română| [[::Repositories/ro|română]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/ru | • {{#if: php5|русский| [[::Repositories/ru|русский]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/si | • {{#if: php5|සිංහල| [[::Repositories/si|සිංහල]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/sq | • {{#if: php5|shqip| [[::Repositories/sq|shqip]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/sr | • {{#if: php5|српски / srpski| [[::Repositories/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/sv | • {{#if: php5|svenska| [[::Repositories/sv|svenska]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/th | • {{#if: php5|ไทย| [[::Repositories/th|ไทย]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/tr | • {{#if: php5|Türkçe| [[::Repositories/tr|Türkçe]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/vi | • {{#if: php5|Tiếng Việt| [[::Repositories/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/yue | • {{#if: php5|粵語| [[::Repositories/yue|粵語]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/zh | • {{#if: php5|中文| [[::Repositories/zh|中文]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/zh-hans | • {{#if: php5|中文(简体)| [[::Repositories/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Repositories}}/zh-hant | • {{#if: php5|中文(繁體)| [[::Repositories/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:php5|:Repositories|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Repositories/zh | | {{#ifexist: Repositories/zh | | {{#ifeq: {{#titleparts:Repositories|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Repositories|1|-1|}} | zh | | }}
Introduction
If you have been a Windows and/or a Mac OS user to date, you are probably used to searching for a program on the internet (often offered in an executable installer) and having to download and install it. You're probably familiar with software distributed on CDs, DVDs, etc. which often have an autorun feature from where you can then install them. For free and open systems like Ubuntu GNU/Linux there is some software distributed in this fashion, but those are mostly proprietary and closed programs.
On systems like Ubuntu, most software is packaged in nice .deb (or .rpm, like in Red Hat) files which contain the programs and libraries you need. These files can be downloaded or come in CDs (Ubuntu's CD is full of them). Repositories are servers which contain sets of packages. You generally access them with tools like Synaptic.
These tools can list all the packages you have installed (from your kernel to your favorite application with all the libraries in between) and the packages that are available in the repositories you have configured the tool to have access to. They also let you search for simple things like "image editor".
These tools provide a simple, centralized method of software installation while and give the distributors (who set up the repositories) a centralized way to send you updates(1) to your software.
In Ubuntu you generally want to have at least Ubuntu's repositories (which may include the install CD) but it is not uncommon to have other repositories (from other packagers) set up.
It's important to know that most of the tools you'll want to use in Ubuntu are already in Ubuntu's repositories. You can go search the internet for packages, or even source code, for others, but these will be more difficult to install and won't, most of the time, integrate well with your system.
So now you know: no more endless searching looking for spyware infested shareware and freeware. The vast majority of useful software available for Linux is pre-packaged for you.
Managing Repositories
- Managing Repositories in Ubuntu
This page explains how to manage repositories in Ubuntu using a graphical user interface.
- Managing Repositories in Kubuntu
This page shows you how to manage repositories in Kubuntu
- Managing Repositories from the Command Line
If you prefer to use the command line, this page has the details
- Managing Personal or Local Repositories
If there are packages you want to load outside of the supported repositories, this page explains a way to ease package dependency issues.
Further Reading
- http://www.ubuntu.com/ubuntu/components describes the repository components (main, restricted, universe, multiverse).
CategoryDocumentation