如何找到source.list的連結?

如何找到source.list的連結?

我想從 git repo 安裝 gnome進化。當我執行以下命令時出現錯誤:/configure prefix=/opt 所以我想使用 apt-get build-dep 命令。但我收到這個錯誤

E: You must put some 'source' URIs in your sources.list

我應該添加我知道的 /etc/apt/sources.list uri,但找不到sources.list 檔案的 uri。怎麼才能找到?

答案1

通常來源位於二進位包下方。

# ubuntu precise
deb http://de.archive.ubuntu.com/ubuntu precise main restricted universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu precise main restricted universe multiverse

deb-src行定義了來源儲存庫。

相關內容