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
  mkdir -p "$HOME/tmp/git"
  cd "$HOME/tmp/git"
  git clone --depth=1 --recursive ""
  cd "$HOME/tmp/git/brotli"
make clean
make distclean

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.