歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 給Ubuntu換源

給Ubuntu換源

日期:2017/2/28 16:59:09   编辑:Linux教程

新手在使用Ubuntu的時候可能在升級時感覺很慢,如果這樣他就需要換一個適合自己的源了。

下面我就簡單的說一下怎樣換源。

在終端裡輸入 sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup (表示備份列表)

再輸入 sudo gedit /etc/apt/sources.list

你就能看到源列表了,把你看到的都刪除然後粘貼上適合你的源

源,自己找一個適合自己的:http://wiki.ubuntu.org.cn/index.php?title=%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E6%88%91%E4%BB%AC%E6%8E%A8%E8%8D%90%E7%9A%84%E6%BA%90&variant=zh-cn#Hardy.288.04.29_.E7.89.88.E6.9C.AC

復制進去,保存退出

在終端輸入 sudo apt-get update 更新列表

這樣,換源完成。

Copyright © Linux教程網 All Rights Reserved