LINUX error Solution: Unable to locate package libX11-dev

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/quantum7/article/details/102743320
  • The following error message:
configure: error: Could not find cups! You might be able to fix this by running 'sudo apt-get install libcups2-dev'. 
configure exiting with result code 1

People have told you command, and more considerate. however……

  • Update command execution error:
sudo apt-get install libX11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev
[sudo] ccyh 的密码: 
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
E: 无法定位软件包 libX11-dev
  • Solution:

The reason is simple, an error, you can use lowercase (others also are lowercase, with the exception of the uppercase typo):

sudo apt-get install libx11-dev

 

Guess you like

Origin blog.csdn.net/quantum7/article/details/102743320