2012-02-25 117 views
3

我試圖安裝V4L2上的Ubuntu 10.04 (lucid),需要安裝xlibs-dev。我想:sudo apt-get install xlibs-dev但它返回:如何在Ubuntu 10.04(lucid)上安裝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-dev;

第二次嘗試:sudo apt-get updatesudo apt-get upgrade;

全部失敗。同樣安裝xorg-dev,更新和升級我的軟件包,不能安裝xlibs-dev庫。如何解決這個問題?提前致謝。

+1

這屬於[ServerFault](http://serverfault.com/) – Chad 2012-02-25 17:52:19

回答

4

命令

apt-cache search xlib dev 

建議你

aptitude install libx11-dev 

而且你的發行版可能會V4L2。考慮安裝v4l2ucp包...

PS。沒有sxlib因爲它是一個庫,不是幾個!

相關問題