3
如何在Ubuntu中使用apt-get source获取源代码?
我需要从源代码安装pure-ftpd并需要这样做,apt-get source pure-ftpd但我收到此消息: E: You must put some 'source' URIs in your sources.list 我在Debian上找到了一些与此有关的文档,http://www.debian.org/doc/manuals/apt-howto/ch-basico.en.html#s-sources.list但是我应该在Ubuntu的sources.list中添加什么URI,以及是否需要pur-ftpd的源? 编辑:我在Sources.List的Ubuntu Hardy Heron(8.04)上找到了一些URI, 所以我将这些行添加到了我的/etc/apt/sources.list: deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted universe deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe