linux:安装jpeg的库libjpeg(rocky linux 9.2)
一,官网下载地址:
http://www.ijg.org/
二,下载
[root@localhost imagemagick]# wget http://www.ijg.org/files/jpegsrc.v9e.tar.gz
三,解压及安装
解压
[root@localhost imagemagick]# tar -zxvf jpegsrc.v9e.tar.gz
配置
[root@localhost jpeg-9e]# ./configure
编译并安装:
[root@localhost jpeg-9e]# make && make install
说明:刘宏缔的架构森林—专注it技术的博客,
网站:https://blog.imgtouch.com
原文: https://blog.imgtouch.com/index.php/2023/07/12/linux-an-zhuang-jpeg-de-ku-libjpeg-rocky-linux-9-2/
代码: https://github.com/liuhongdi/ 或 https://gitee.com/liuhongdi
说明:作者:刘宏缔 邮箱: 371125307@qq.com
四, 查看安装的效果:
[root@localhost jpeg-9e]# whereis cjpeg
cjpeg: /usr/local/bin/cjpeg
五,查看linux的版本:
[root@localhost ImageMagick-7.1.1-12]# cat /etc/redhat-release
Rocky Linux release 9.2 (Blue Onyx)