如何在Ubuntu 10.04(lucid)上安装xlibs-dev?

时间:2012-02-25 17:50:50

标签: c linux build ubuntu-10.04

我正在尝试在需要安装Ubuntu 10.04 (lucid)的{​​{1}}上安装V4L2。我试过:xlibs-dev但它返回:

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 ;

第二次尝试:sudo apt-get install xorg-devsudo apt-get update;

全部失败。同样安装xorg-dev,更新和升级我的软件包,无法安装xlibs-dev库。怎么解决这个问题?提前谢谢。

1 个答案:

答案 0 :(得分:4)

命令

 apt-cache search xlib dev

建议你

 aptitude install libx11-dev

您的发行版可能包含V4L2。考虑安装v4l2ucp包...

PS。 xlib中没有 s 字母,因为它是一个库,而不是几个!