Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save 1duo/5cb29dea1b8ae9f75ab01ada2c53bb94 to your computer and use it in GitHub Desktop.
Save 1duo/5cb29dea1b8ae9f75ab01ada2c53bb94 to your computer and use it in GitHub Desktop.
Install libjpeg-turbo from source on Linux Ubuntu.
sudo apt install -y nasm
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 --prefix=/usr           \
            --mandir=/usr/share/man \
            --with-jpeg8            \
            --disable-static        \
            --docdir=/usr/share/doc/libjpeg-turbo-1.5.2
make -j$(nproc)
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment