LMS (Logitech Media Server) is an open-source audio streaming server that allows you to stream music wirelessly to different devices on your local network. In this tutorial, we will learn how to install LMS on Alpine Linux Latest.
Before we proceed with the installation, make sure that you have the following:
First, update your system package repositories with the following command:
sudo apk update
After that, upgrade all the installed packages to their latest version using the following command:
sudo apk upgrade
Next, install the prerequisites required to build LMS by running the following command:
sudo apk add build-base perl-dev pcre-dev zlib-dev openssl-dev expat-dev perl-dbd-sqlite curl
You can download the LMS tarball from the official website or GitHub repository. Here, we are using the GitHub repository to download and install LMS.
Change to the home directory with the following command:
cd ~
Clone the latest LMS source code from GitHub with the following command:
git clone https://github.com/epoupon/lms.git
Once the repository has been cloned, change to the lms directory with the following command:
cd lms
Now, build LMS with the following command:
./configure --with-lame --with-vorbis --with-flac --with-mpg123 --with-soxr --with-ffmpeg --with-faad --with-mad --prefix=/usr/local
This command configures the source code and sets the installation directory to /usr/local.
After the configuration is complete, build and install LMS using the following commands:
make
sudo make install
To configure LMS, you need to create a configuration file with the following command:
sudo nano /usr/local/etc/logitechmediaserver.conf
Add the following lines to the configuration file:
logdir /var/log/squeezeboxserver/
cachedir /var/lib/squeezeboxserver/cache/
prefsdir /var/lib/squeezeboxserver/prefs/
Save and close the file.
To start LMS, run the following command:
sudo /usr/local/sbin/squeezeboxserver --logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeezeboxserver/cache/ --prefsdir /var/lib/squeezeboxserver/prefs/
After starting the LMS, you can access its web interface by navigating to http://
In this tutorial, we have learned how to install LMS on Alpine Linux Latest. Once you have LMS installed, you can use it to stream your music library wirelessly to various devices on your local network.
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!