Ubuntu18.04安装OpenCv依赖包无法定位libjasper-dev

在下载包 sudo apt-get install libjaster-dev时

提示无法定位软件包:errorE: unable to locate libjasper-dev

解决方法

sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main"
sudo apt update
sudo apt install libjasper1 libjasper-dev

其中libjasper1是libjasper-dev的依赖包

转载自:https://blog.csdn.net/weixin_41053564/article/details/81254410

你可能感兴趣的:(笔记,Ubuntu,ubuntu,opencv)