Skip to content

Instantly share code, notes, and snippets.

@1duo
Last active April 13, 2018 21:40
Show Gist options
  • Save 1duo/5af950ad555c5b845da5a840f59d3385 to your computer and use it in GitHub Desktop.
Save 1duo/5af950ad555c5b845da5a840f59d3385 to your computer and use it in GitHub Desktop.
Install libjpeg-turbo on CentOS 7.
  • Install Dependencies
yum install -y nasm
  • Download and Unzip libjpeg-turbo.tar.gz
wget https://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-1.5.2.tar.gz
tar xvf libjpeg-turbo-1.5.2.tar.gz && cd libjpeg-turbo-1.5.2
  • Configure, Compile, and Install
./configure --prefix=/usr           \
            --mandir=/usr/share/man \
            --with-jpeg8            \
            --disable-static        \
            --docdir=/usr/share/doc/libjpeg-turbo-1.5.2
make -j$(nproc)
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment