# Build Lagrange with WEBP and MPEG support

``` bash
apt install git cmake zip libsdl2-dev libssl-dev libpcre3-dev zlib1g-dev libunistring-dev libfribidi-dev libmpg123-dev
git clone --recursive --branch release https://git.skyjake.fi/gemini/lagrange
cd lagrange
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DENABLE_WEBP=YES -DENABLE_MPG123=YES
cmake --build .
chmod +x lagrange
./lagrange
```