自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Ubuntu軟件源更新設(shè)計(jì)

系統(tǒng) Linux
這些Ubuntu軟件到底存放在哪里?是否可以指定下載的位置?解決此類問題,就必須提及Ubuntu使用的“Ubuntu軟件源”(Software Repositories)。

在向大家詳細(xì)介紹Ubuntu軟件源之前,首先讓大家了解下buntu軟件包,然后全面介紹Ubuntu軟件源 ,希望對大家有用。Ubuntu 是一個(gè)完全以 Linux 為基礎(chǔ)的操作系統(tǒng), 可自由的獲得,并提供社區(qū)和專業(yè)的支持。

Ubuntu軟件源

對于Ubuntu的在線更新設(shè)計(jì),相信您一定覺得十分方便,因?yàn)檫@可以提高系統(tǒng)安裝的速度,并節(jié)省下載安裝CD/DVD的大量時(shí)間(目前的Linux 發(fā)行版安裝都需要多張CD或DVD,對于上網(wǎng)帶寬不足的用戶,這常會造成下載的困難)。

不知您是否想過,這些Ubuntu軟件到底存放在哪里?是否可以指定下載的位置?解決此類問題,就必須提及Ubuntu使用的“Ubuntu軟件源”(Software Repositories)。在Ubuntu中所謂的“Ubuntu軟件源”,是指在世界上許多服務(wù)器上放置的Ubuntu軟件數(shù)據(jù)庫。就目前而言,Ubuntu軟件源中大概有17 000個(gè)不同的Ubuntu軟件包。由于Ubuntu軟件源是開放給所有的Ubuntu用戶進(jìn)行更新,所以只要在Ubuntu軟件源中定期上傳***版本的Ubuntu軟件,便可確保所有用戶都用到***發(fā)布的Ubuntu軟件包。

默認(rèn)Ubuntu軟件源

Ubuntu安裝時(shí),系統(tǒng)會根據(jù)選擇的時(shí)區(qū)來指定默認(rèn)的Ubuntu軟件源,以加快用戶下載更新時(shí)的速度。例如,在安裝時(shí),如果選擇的時(shí)區(qū)為上海,則系統(tǒng)就會指定使用中國的UbuntuUbuntu軟件源。如果希望了解目前系統(tǒng)所用的Ubuntu軟件源列表,首先需要打開/etc/apt/sources.list文件。下面的范例是筆者目前的計(jì)算機(jī)設(shè)置,其中會列出不同用途的Ubuntu軟件源網(wǎng)址:

Major bug fix updates produced after the final release of the
distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ edgy-updates main restricted multiverse universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ edgy-updates main restricted multiverse universe #Added by software-properties
Uncomment the following two lines to add software from the 'universe'
repository.
N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
team, and may not be under a free licence. Please satisfy yourself as to
your rights to use the software. Also, please note that software in
universe WILL NOT receive any review or updates from the Ubuntu security
team.
deb http://cn.archive.ubuntu.com/ubuntu/ edgy universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ edgy universe
Uncomment the following two lines to add software from the 'backports'
repository.
N.B. software from this repository may not have been tested as
extensively as that contained in the main release, although it includes
newer versions of some applications which may provide useful features.
Also, please note that software in backports WILL NOT receive any review
or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu edgy-security main restricted multiverse universe
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu edgy-security universe
deb-src http://security.ubuntu.com/ubuntu edgy-security universe
deb http://archive.canonical.com/ubuntu dapper-commercial main
deb http://archive.ubuntu.org.cn/ubuntu-cn dapper main universe multiverse restricted
deb http://ubuntu.cn99.com/ubuntu-cn/ dapper main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ edgy-proposed universe main multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ edgy-proposed universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ edgy-backports universe main multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ edgy-backports universe main multiverse restricted
deb http://static.audacious-media-player.org/ubuntu dapper main
deb-src http://static.audacious-media-player.org/ubuntu dapper main

更改Ubuntu軟件源

不過有時(shí)若遇到某些突發(fā)狀況,例如因?yàn)榈卣鸲鸬膰H電纜線斷裂,或到國外出差或旅行,此時(shí)如果仍嘗試連接默認(rèn)的Ubuntu軟件源,可能會引起Ubuntu軟件更新的失敗。因此需視實(shí)際情況來更改Ubuntu軟件源的位置,當(dāng)然,可以直接編輯/etc/apt/sources.list文件的內(nèi)容,不過為了避免使用錯(cuò)誤的語法,以及不正確的Ubuntu軟件源地址,因此一般都建議使用圖形界面的Ubuntu軟件源設(shè)置程序——synaptic。

【編輯推薦】

  1. Ubuntu鏡像使用支持網(wǎng)易與搜狐
  2. Ubuntu GRUB系統(tǒng)引導(dǎo)器
  3. Ubuntu GRUB全局密碼和菜單密碼
  4. Ubuntu TomCat安裝及管理員帳號
  5. Ubuntu安裝顯卡驅(qū)動(dòng)教程比較復(fù)雜
責(zé)任編輯:佚名 來源: CSDN
相關(guān)推薦

2010-02-05 14:09:16

2022-01-11 05:58:06

Windows 11操作系統(tǒng)微軟

2010-02-06 15:50:00

Ubuntu網(wǎng)絡(luò)

2013-11-25 09:07:31

Ubuntu桌面系統(tǒng)移動(dòng)系統(tǒng)

2009-07-23 09:17:13

App Store軟件

2010-02-07 09:51:22

2010-01-06 10:43:39

2022-01-07 07:47:53

Windows 11照片應(yīng)用更新

2009-12-30 15:41:09

2010-01-05 13:45:41

Ubuntu軟件

2020-12-23 13:22:14

Kubernetes設(shè)計(jì)網(wǎng)絡(luò)

2010-03-15 16:16:41

Ubuntu 8.04

2012-03-14 21:27:52

PayPal

2022-01-07 12:54:28

微軟WindowsWindows 11

2012-03-20 21:05:53

Windows Pho

2010-03-05 15:53:56

Ubuntu更新系統(tǒng)

2010-02-24 13:33:11

2021-09-08 09:36:10

Windows操作系統(tǒng)功能

2013-09-22 09:30:44

卡片式設(shè)計(jì)響應(yīng)式

2021-12-09 09:09:41

蘋果開源主頁開源項(xiàng)目
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號