当使用
sudo apt-get build-dep 【软件安装包】
安装软件时出现如下错误
E: You must put some 'source' URIs in your sources.list
在搜索中找到 'Software & Updates', 然后在 "Ubuntu Software" 菜单中将 "Source code"框勾选上。如下图位置:
这是用来添加一些 ‘deb-src’ 在 '/etc/apt/sources.list'文件中,然后你就可以运行之前的命令安装软件了:
sudo apt-get build-dep 【软件安装包】