我是新的ubuntu,我正在使用ubuntu 13.10,并试图安装NS-2。
在安装过程中,我面临以下错误;
X11/Xlib.h: No such file or directory然后我试着安装
sudo apt-get install libx11-dev这一次我面临以下错误;
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libx11-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 'libx11-dev' has no installation candidate我不知道该怎么处理,请提前帮忙谢谢
发布于 2013-11-12 16:16:04
我也使用13.10,但是它的Xubuntu,如果您想要安装linx11-dev离子13.10,可以使用您所需的软件包。试试这个方法。
sudo apt-get install libpthread-stubs0 libpthread-stubs0-dev libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev x11proto-core-dev x11proto-input-dev x11proto-kb-dev xorg-sgml-doctools xtrans-dev希望这能帮上忙。
https://askubuntu.com/questions/375978
复制相似问题