Create a user liquidsoap WITH HOME DIRECTORY (you need it for opam subdirectories)
Create a directory for your /my/workspace and chown it to liquidsoap
Install opam as root
# su – liquidsoap
$ opam init
$ cd “/my/workspace”
$ git clone https://github.com/savonet/liquidsoap-full.git liquidsoap
$ cd liquidsoap
$ make init
$ cp PACKAGES.minimal PACKAGES
$ ./bootstrap
$ ./configure
$ make
Then do
# make install
as root. If some helper or library stuff XYZ is not installed try
$ opam install XYZ
AS USER liquidsoap instead of
# apt-get install XYZ
as root first.