linux:安装tiff的库libtiff(rocky linux 9.2)

发布时间 2023-07-12 19:53:33作者: 刘宏缔的架构森林

一,官方下载地址:

http://download.osgeo.org/libtiff/

如图:

二,下载及安装

1,下载

[root@localhost imagemagick]# wget http://download.osgeo.org/libtiff/tiff-4.5.1.tar.gz

2,解压:

[root@localhost imagemagick]# tar -zxvf tiff-4.5.1.tar.gz

3,配置:

[root@localhost imagemagick]# cd tiff-4.5.1/
[root@localhost tiff-4.5.1]# ./configure

4,编译并安装:

[root@localhost tiff-4.5.1]# make && make install

说明:刘宏缔的架构森林—专注it技术的博客,
网站:https://blog.imgtouch.com
原文: https://blog.imgtouch.com/index.php/2023/07/12/linux-an-zhuang-tiff-de-ku-libtiff-rocky-linux-9-2/
代码: https://github.com/liuhongdi/ 或 https://gitee.com/liuhongdi
说明:作者:刘宏缔 邮箱: 371125307@qq.com

三,查看效果:

1,用whereis检查tiffinfo是否已安装

[root@localhost tiff-4.5.1]# whereis tiffinfo
tiffinfo: /usr/local/bin/tiffinfo

四,查看linux的版本:

[root@localhost ImageMagick-7.1.1-12]# cat /etc/redhat-release
Rocky Linux release 9.2 (Blue Onyx)