yum install gcc gcc-c++ -y

以下示例代码为自定义路径~用默认的不需要设置额外参数:

mkdir -p /opt/jpeglib
wget http://www.ijg.org/files/jpegsrc.v9a.tar.gz
tar xf jpegsrc.v9a.tar.gz
cd jpeg-9a/
sudo ./configure --prefix=/opt/jpeglib
make && make install

Related Posts: jpeglib编译安装方法 :

avatar