如何在没有 root 权限的情况下在 ubuntu 16.04 上手动下载、编译和安装 tiff5 库?

How to manually download, compile and install the tiff5 library on ubuntu 16.04 without root permissions?

我需要 tiff5 库,但在 ubuntu 16.04 上没有 root 权限我无法安装它。请问有谁知道方法吗?

您可以尝试从 https://packages.ubuntu.com/trusty/amd64/libtiff5/download 下载 libtiff5 包,解压它,将库从 usr/lib/x86_64-linux-gnu 目录放在某处(即 /home/user/custom_libs),通过命令添加到LD_LIBRARY_PATH:

export LD_LIBRARY_PATH=/home/user/custom_libs/