如何安装 libtiff4-dev 和 liblcms1-dev 包?

如何安装 libtiff4-dev 和 liblcms1-dev 包?

我使用 Ubuntu 16.04。

我想为 django 项目安装依赖项。

当我尝试时,(这里是依赖项)

sudo ./install_os_dependencies.sh install

它会打印错误

Package libtiff4-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
However the following packages replace it:
libtiff5-dev:i386 libtiff5-dev

Package liblcms1-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 'libtiff4-dev' has no installation candidate
E: Package 'liblcms1-dev' has no installation candidate

如何安装上述软件包?

答案1

我安装了软件包。我只是在 requirements.apt 中更改了软件包的名称

libtiff4-devlibtiff5-dev

liblcms1-devliblcms2-dev

因为我的 ubuntu 16.04 不使用 libtiff4-dev 和 liblcms1-dev

相关内容