Fix easy install on minimal install Ubuntu 22.04.1 LTS (server)

Roon Core Machine

Ubuntu 22.04.1 LTS

After following the instructions for installing Roon on linux on a clean minimal install of Ubuntu 22.04.1 LTS (server), I get an error when running the actual install script roonserver-installer-linuxx64.sh. See below:

Do you want to install RoonServer on this machine? [Y/n]

Downloading RoonServer_linuxx64.tar.bz2 to /tmp/tmp.bkDj28EJNM/RoonServer_linuxx64.tar.bz2

################################################################################################################################ 100.0%

Unpacking RoonServer_linuxx64.tar.bz2...tar (child): lbzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

The problem seems to be a missing library for the tar command to unpack the downloaded file.
Solution is to install the missing bzip2 library:

sudo apt-get install bzip2

After this the install script will run without this error.

Use these instructions…

sudo apt install ffmpeg cifs-utils -y
curl -O https://download.roonlabs.net/builds/roonserver-installer-linuxx64.sh
chmod +x roonserver-installer-linuxx64.sh
sudo ./roonserver-installer-linuxx64.sh
1 Like

Hi @Giel_Scharff,

Were you able to get things running with, @Martin_Webster’s assistance?

Thanks,
Wes

@Wes, yes, I simply documented a missing dependency in the documentation for Ubuntu 22.04.1 lts: bzip2

Martin repeated the install instructions.

This isn’t strictly a dependency; Roon doesn’t require this package to run. However, as you note lbzip2 (and curl) aren’t included in the minimal server installation, and it is the responsibility of the system admin to install necessary packages.

The only dependencies for Roon Server are ffmpeg or avconf.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.