How to Install LMS on Elementary OS

LMS is an open-source Logitech Media Server that allows you to stream music from various sources to your devices. In this tutorial, we will go through the steps necessary to install LMS on Elementary OS.

Prerequisites

Step 1: Install the required dependencies via terminal

Open the terminal and type in the following commands to install the dependencies.

sudo apt-get update
sudo apt-get install -y curl git make build-essential libssl-dev

Step 2: Download and install LMS

Now let's download and install LMS by running the following commands:

curl -L https://github.com/epoupon/lms/releases/download/8.1.1/lms_8.1.1_all.deb > lms.deb
sudo apt-get install -y ./lms.deb

Step 3: Configure LMS

Once LMS is installed, you can access the web interface by opening a browser and navigating to http://localhost:9000. However, before we can start streaming our music, we need to configure LMS.

You can configure LMS by running the following command:

sudo /etc/init.d/logitechmediaserver stop
sudo /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver --cachedir /var/lib/squeezeboxserver/cache --charset=utf8 --user=squeezeboxserver

The above command will start the server and allow you to access the LMS web interface to setup and configure your LMS server.

Congratulations! You have successfully installed LMS on your Elementary OS machine. You can now start using LMS to stream your music.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!