ubuntu18 安装opencv依赖时出现问题Unable to locate package libjasper-dev

1.下载libjasper-dev依赖包  (https://packages.ubuntu.com/zh-cn/xenial/libjasper-dev)

2. 命令:dpkg --print-architecture(查看电脑硬件架构)


下载相应依赖包

ubuntu18 安装opencv依赖时出现问题Unable to locate package libjasper-dev_第1张图片


3.sudo dpkg -i libjasper-dev_1.900.1-debian1-2.4ubuntu1.2_amd64.deb 

出错 : 缺少相依依赖包


ubuntu18 安装opencv依赖时出现问题Unable to locate package libjasper-dev_第2张图片

4.同理 安装相应依赖包

你可能感兴趣的:(ubuntu18 安装opencv依赖时出现问题Unable to locate package libjasper-dev)