linux - 软件包 libsndfile-dev 没有安装候选

标签 linux ubuntu installation apt-get libsndfile

我正在尝试安装“libsndfile-dev”。我执行以下操作:

sudo apt-get install libsndfile-dev

结果我得到以下内容:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libsndfile-dev is a virtual package provided by:
  libsndfile1-dev 1.0.17-4ubuntu0.8.10.2
You should explicitly select one to install.
E: Package libsndfile-dev has no installation candidate

所以,我的安装尝试失败了。谁能告诉我应该明确选择什么以及我该怎么做?

提前谢谢你。

最佳答案

看起来你应该 apt-get install libsndfile1-dev(注意 1)。

关于linux - 软件包 libsndfile-dev 没有安装候选,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2057395/

相关文章:

linux - 替换命令不起作用

c - 重构 mmap 调用的 "flags"参数

linux - 信号处理程序中的 pthread_exit 导致段错误

magento - 在 Magento 设置脚本中添加 auto_increment 列,而不使用 SQL

linux - 在/目录中意外使用 rm -r * 后恢复 ubuntu

php - 模块 'PDO' 已加载到未知行 0

objective-c - ubuntu 12.04.3 : gcc 4. 8.2 in Objective-C

svn - libapache2-svn,与 Subversion 1.6.1 匹配的版本

python - 为python安装一个库

installation - H5PY安装: error command 'x86_64-linux-gnu-gcc' failed with exit status 1