如何在Ubuntu 10.04(lucid)上安装xlibs-dev?
作者:互联网
我正在尝试在需要安装xlibs-dev的Ubuntu 10.04(lucid)上安装V4L2
.我试过了:sudo apt-get install xlibs-dev但它返回:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package xlibs-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package xlibs-dev has no installation candidate
然后我尝试:
第一次尝试:attemp:sudo apt-get install xorg-dev;
第二次尝试:sudo apt-get更新和sudo apt-get升级;
全部失败.同样安装xorg-dev,更新并升级了我的软件包,无法安装xlibs-dev库.如何解决这个问题?提前致谢.
解决方法:
命令
apt-cache search xlib dev
建议你
aptitude install libx11-dev
并且您的发行版可能具有V4L2.考虑安装v4l2ucp软件包…
PS. xlib中没有s字母,因为它是一个库,而不是多个!
标签:build,ubuntu-10-04,c-3,linux 来源: https://codeday.me/bug/20191101/1985201.html