如何取得預先載入的服務?

如何取得預先載入的服務?

我透過 CD 安裝了 Ubuntu 14.04,當時我沒有網路連接,因為我無法取得所有內建軟體包。出現了一些問題,例如播放 mp3、mp4 格式等所需的插件,如何取得所有這些套件。幫我。

答案1

您也可以從別人的電腦下載並執行此操作,但答案仍然是:

安裝 Ubuntu 時,它使用 DVD 來載入 Ubuntu 以及軟體包。安裝時,您會看到一個從網路更新的選項,請勿選擇該選項。記住你的密碼

照常安裝,安裝後重新啟動,但是無需取出 DVD

現在進入你的終端並輸入以下內容

sudo nano /etc/apt/sources.list

它會詢問您的密碼

這是列出安裝來源的文件,它看起來像

# deb cdrom:[Ubuntu 15.04 _Vivid Vervet_ - Alpha amd64 (20150228)]/ vivid main $

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://in.archive.ubuntu.com/ubuntu/ vivid main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ vivid universe
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid universe
deb http://in.archive.ubuntu.com/ubuntu/ vivid-updates universe
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid-updates universe

你的會有所不同

現在第一行將允許系統使用您的 CD 作為軟體儲存庫,所以現在取消註釋它,它現在應該看起來像

deb cdrom:[Ubuntu 15.04 _Vivid Vervet_ - Alpha amd64 (20150228)]/ vivid main $

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://in.archive.ubuntu.com/ubuntu/ vivid main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ vivid universe
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid universe
deb http://in.archive.ubuntu.com/ubuntu/ vivid-updates universe
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid-updates universe

這是重要的一行(僅......)

deb cdrom:[Ubuntu 15.04 _Vivid Vervet_ - Alpha amd64 (20150228)]/ vivid main $

然後按 Ctrl + X,然後按 Shift + Y,然後按 Enter

已完成,現在在您的普通終端類型中

sudo apt-get update

這會更新儲存庫,現在您需要輸入密碼作為身份驗證,您將看到一個長列表。

那你可能只安裝一些軟體包而不是全部。

相關內容