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

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

系統(tǒng) Linux
在Ubuntu中所謂的“Ubuntu軟件源”,是指在世界上許多服務(wù)器上放置的軟件數(shù)據(jù)庫。就目前而言,軟件源中大概有17 000個(gè)不同的軟件包。由于Ubuntu軟件源是開放給所有的Ubuntu軟件源用戶進(jìn)行更新,所以只要在軟件源中定期上傳最新版本的軟件,便可確保所有用戶都用到最新發(fā)布的軟件包。

Ubuntu軟件源還是比較常用的,于是我研究了一下Ubuntu軟件源 ,在這里拿出來和大家分享一下,希望對(duì)大家有用.對(duì)于Ubuntu軟件源的在線更新設(shè)計(jì),相信您一定覺得十分方便,因?yàn)檫@可以提高系統(tǒng)安裝的速度,并節(jié)省下載安裝CD/DVD的大量時(shí)間(目前的Linux 發(fā)行版安裝都需要多張CD或DVD,對(duì)于上網(wǎng)帶寬不足的用戶,這常會(huì)造成下載的困難)。

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

在Ubuntu中所謂的“Ubuntu軟件源”,是指在世界上許多服務(wù)器上放置的軟件數(shù)據(jù)庫。就目前而言,軟件源中大概有17 000個(gè)不同的軟件包。由于Ubuntu軟件源是開放給所有的Ubuntu軟件源用戶進(jìn)行更新,所以只要在軟件源中定期上傳最新版本的軟件,便可確保所有用戶都用到最新發(fā)布的軟件包。

Ubuntu默認(rèn)軟件源

Ubuntu軟件源安裝時(shí),系統(tǒng)會(huì)根據(jù)選擇的時(shí)區(qū)來指定默認(rèn)的軟件源,以加快用戶下載更新時(shí)的速度。例如,在安裝時(shí),如果選擇的時(shí)區(qū)為上海,則系統(tǒng)就會(huì)指定使用中國(guó)的Ubuntu軟件源。

如果希望了解目前系統(tǒng)所用的Ubuntu軟件源列表,首先需要打開/etc/apt/sources.list文件。下面的范例是筆者目前的計(jì)算機(jī)設(shè)置,其中會(huì)列出不同用途的軟件源網(wǎng)址:

  1. ## Major bug fix updates produced after the final release of the  
  2. ## distribution.  
  3. deb http://cn.archive.ubuntu.com/ubuntu/ edgy-updates main restricted multiverse universe  
  4. deb-src http://cn.archive.ubuntu.com/ubuntu/ edgy-updates main restricted multiverse universe #Added by software-properties  
  5. ## Uncomment the following two lines to add software from the 'universe'  
  6. ## repository.  
  7. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  
  8. ## team, and may not be under a free licence. Please satisfy yourself as to  
  9. ## your rights to use the software. Also, please note that software in  
  10. ## universe WILL NOT receive any review or updates from the Ubuntu security  
  11. ## team.  
  12. # deb http://cn.archive.ubuntu.com/ubuntu/ edgy universe  
  13. # deb-src http://cn.archive.ubuntu.com/ubuntu/ edgy universe  
  14. ## Uncomment the following two lines to add software from the 'backports'  
  15. ## repository.  
  16. ## N.B. software from this repository may not have been tested as  
  17. ## extensively as that contained in the main release, although it includes  
  18. ## newer versions of some applications which may provide useful features.  
  19. ## Also, please note that software in backports WILL NOT receive any review  
  20. ## or updates from the Ubuntu security team.  
  21. # deb http://cn.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse  
  22. # deb-src http://cn.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse  
  23. deb http://security.ubuntu.com/ubuntu edgy-security main restricted multiverse universe  
  24. deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted multiverse universe #Added by software-properties  
  25. # deb http://security.ubuntu.com/ubuntu edgy-security universe  
  26. # deb-src http://security.ubuntu.com/ubuntu edgy-security universe  
  27. deb http://archive.canonical.com/ubuntu dapper-commercial main  
  28. deb http://archive.ubuntu.org.cn/ubuntu-cn dapper main universe multiverse restricted  
  29. deb http://ubuntu.cn99.com/ubuntu-cn/ dapper main restricted universe multiverse  
  30. deb http://archive.ubuntu.com/ubuntu/ edgy-proposed universe main multiverse restricted  
  31. deb-src http://archive.ubuntu.com/ubuntu/ edgy-proposed universe main multiverse restricted  
  32. deb http://archive.ubuntu.com/ubuntu/ edgy-backports universe main multiverse restricted  
  33. deb-src http://archive.ubuntu.com/ubuntu/ edgy-backports universe main multiverse restricted  
  34. deb http://static.audacious-media-player.org/ubuntu dapper main  
  35. deb-src http://static.audacious-media-player.org/ubuntu dapper main 

更改Ubuntu軟件源

不過有時(shí)若遇到某些突發(fā)狀況,例如因?yàn)榈卣鸲鸬膰?guó)際電纜線斷裂,或到國(guó)外出差或旅行,此時(shí)如果仍嘗試連接默認(rèn)的軟件源,可能會(huì)引起軟件更新的失敗。

因此需視實(shí)際情況來更改Ubuntu軟件源的位置,當(dāng)然,可以直接編輯/etc/apt/sources.list文件的內(nèi)容,不過為了避免使用錯(cuò)誤的語法,以及不正確的軟件源地址,因此一般都建議使用圖形界面的軟件源設(shè)置程序——synaptic。

要打開synaptic程序,可以單擊“系統(tǒng)”/“系統(tǒng)管理”/“新立得軟件包管理器”選項(xiàng)。輸入密碼后,系統(tǒng)即會(huì)打開“新立得軟件包管理器”窗口。然后在出現(xiàn)的“新立得軟件包管理器”窗口上方,單擊“設(shè)置”/“軟件庫”選項(xiàng),系統(tǒng)會(huì)打開“軟件源”窗口。

除了可以從“下載自”下拉列表中選擇軟件源的位置外,也可以決定更新時(shí)包含的軟件包類型。此處可供選擇的軟件包類型如下:

  1. Universe:沒有官方維護(hù)的開源軟件  
  2. Main:官方維護(hù)的開源軟件  
  3. Mulitverse:非官方維護(hù)的非開源軟件(具有版權(quán)或限制使用)  
  4. Restricted:官方維護(hù)的非開源軟件  
  5. Source Code:源代碼 

更改Internet更新屬性

如果希望更改Internet更新的軟件包屬性和頻率,首先需要單擊上方的“Internet更新”標(biāo)簽,然后再按照實(shí)際需求勾選適當(dāng)?shù)倪x項(xiàng)。

單擊“Internet更新”標(biāo)簽自行添加軟件源

若要增加Ubuntu軟件源的個(gè)數(shù),也可以使用手動(dòng)添加的方式。首先需要單擊上方的“第三方”標(biāo)簽,然后單擊左下方的“添加”按鈕,系統(tǒng)將彈出一個(gè)信息窗口,并要求輸入軟件源的位置。

【編輯推薦】

  1. Ubuntu軟件源更新設(shè)計(jì)
  2. Ubuntu Linux里面娛樂安裝非常簡(jiǎn)單
  3. Ubuntu GRUB密碼設(shè)置可分為全局密碼和菜單密碼
  4. Ubuntu安裝配置Tomcat的端口及解壓tomcat
  5. Ubuntu apache2重啟命令與主機(jī)配置文件
責(zé)任編輯:佚名 來源: CSDN
相關(guān)推薦

2010-01-04 12:48:30

Ubuntu軟件源

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

2009-12-30 15:41:09

2022-01-07 07:47:53

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

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

2010-03-05 15:53:56

Ubuntu更新系統(tǒng)

2010-02-24 13:33:11

2012-03-20 21:05:53

Windows Pho

2012-02-21 09:25:49

蘋果iTunesApp Store

2021-12-09 09:09:41

蘋果開源主頁開源項(xiàng)目

2021-09-08 09:36:10

Windows操作系統(tǒng)功能
點(diǎn)贊
收藏

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