How to Compile Brotli from Source on Ubuntu 18.04 LTS

Brotli is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a compression ratio comparable to the best currently available general-purpose compression methods. This tutorial shows how to compile Brotli compression library from source on Ubuntu 18.04 LTS (Bionic Beaver).