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

The*_*ask 4 c linux build ubuntu-10.04

我试图安装V4L2Ubuntu 10.04 (lucid)那些需要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
Run Code Online (Sandbox Code Playgroud)

然后我试过:

第一次尝试:尝试:sudo apt-get install xorg-dev

第二次尝试:sudo apt-get updatesudo apt-get upgrade

都失败了。同样安装 xorg-dev,更新并升级了我的软件包,无法安装 xlibs-dev 库。如何解决这个问题?提前致谢。

Bas*_*tch 5

命令

 apt-cache search xlib dev
Run Code Online (Sandbox Code Playgroud)

建议你

 aptitude install libx11-dev
Run Code Online (Sandbox Code Playgroud)

你的发行版可能有 V4L2。考虑安装v4l2ucp包...

附注。里面没有s字母,xlib因为它是一个图书馆,而不是几个!