Savonet : Download and install liquidsoap

Installing Savonet/Liquidsoap

You can install liquidsoap with OPAM (recommended), from source, or using a package available for your distribution.

Install using OPAM

The recommended method to install liquidsoap is by using the OCaml Package Manager. OPAM is available in all major distributions and on windows. We actively support the liquidsoap packages there and its dependencies.

A typical installation with MP3 and Vorbis encoding/decoding and icecast support is done by executing:

opam install taglib mad lame vorbis cry liquidsoap

Most of liquidsoap's dependencies are only optionally installed by OPAM. For instance, if you want to enable opus encoding and decoding after you've already installed liquidsoap, you should execute the following:

opam install opus

If your system is missing external dependencies for these optional features, OPAM may be able to tell you which package to install. This can be acheived this way:

opam install depext
opam depext taglib mad lame vorbis cry liquidsoap

opam info liquidsoap should give you the list of all optional dependencies that you may enable in liquidsoap.

If you need to run liquidsoap as daemon, we provide a package named liquidsoap-daemon. See savonet/liquidsoap-daemon for more information.

Using OPAM, you can also install liquidsoap or any of its dependencies from source. For instance:

git clone
cd liquidsoap
git submodule init
git submodule update
opam pin add liquidsoap .

Most dependencies should be compatible with OPAM pinning. Let us know if you find one that isn't!

When using OPAM for the first time, you should run

opam init

and answer y (for yes) to the question it asks, about whether you want OPAM to modify some configuration files (this will put the directory where Liquidsoap in your path).

Installing from source

You can download source code published by Savonet from the github releases page.

The recommended way for newcomers is to use the liquidsoap-full-xxx.tar.gz tarball. This tarball includes all required OCaml bindings and allows you to compile and install liquidsoap in a single configure, make and make install procedure. You will still need the corresponding C libraries and their development files, though.

You will then have to build the source.

Debian/Ubuntu packages

Liquidsoap is included in Debian and Ubuntu distributions:


We do not maintain windows build for liquidsoap anymore. See this page for instructions on how to build it yourself.


A package for Arch Linux users is available from the distribution, see the ArchLinux Liquidsoap package page

Git repository (and other distributions)

If you want a cutting-edge version, you can use the git repository. To get a copy of it, you have to run:

git clone liquidsoap
cd liquidsoap
make init

After, that you have to create a list of modules that you want to compile. A good starting point is to do


and edit the PACKAGES file to uncomment the libraries you are interested in. You should then run the configuration scripts by


and finally build Liquidsoap:


After that, you should synchronize the repository from time to time using

make update

Some more explanations can be found in the build instructions.