How to install Brotli on Ubuntu 16.04

sudo apt-get install -y libbrotli-dev brotli
sudo apt-get install -y git make cmake gcc linux-libc-dev libc6-dev build-essential

if [[ -d "$HOME/tmp/git/brotli" ]]; then
  cd "$HOME/tmp/git/brotli"
  git pull
else
  mkdir -p "$HOME/tmp/git"
  cd "$HOME/tmp/git"
  git clone --depth=1 --recursive "https://github.com/google/brotli.git"
  cd "$HOME/tmp/git/brotli"
fi
make clean
make distclean
./configure-cmake
make

sudo make install
sudo ldconfig

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.