要在 Ubuntu 16.04.2 LTS (Xenial) 上安装软件包,系统会提示我“软件包 libjpeg62-turbo 未安装”。我看到它列在https://packages.debian.org/sid/libjpeg62-turbo但是,将它安装到 Xenial 上的最佳方法是什么?我是否应该搜索包含所需二进制文件的等效包?如果是,我如何才能最好地找到该包?
答案1
Ubuntu 16.04,可用libjpeg62-dev、libjpeg-dev、libjpeg8-dev libjpeg-turbo8-dev
但是,安装libjpeg62-dev
将删除这些(如果已安装):
libarmadillo-dev libfox1.6-dev libhdf4-alt-dev libhdf5-dev libjpeg-dev \
libjpeg-turbo8-dev libjpeg8-dev libmlpack-dev libnetcdf-dev libtiff5-dev
“libjpeg”https://packages.ubuntu.com/search?keywords=libjpeg&searchon=names
答案2
您可以在这里找到包: http://ftp.br.debian.org/debian/pool/main/libj/libjpeg-turbo
跑步:
wget http://ftp.br.debian.org/debian/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_amd64.deb
sudo dpkg -i libjpeg62-turbo_1.5.1-2_amd64.deb