How to Install LMS on NetBSD

LMS (Logitech Media Server) is a powerful media server that allows you to stream music and other media to many different devices, including Logitech Squeezebox, Sonos, and many other popular devices. In this tutorial, we will be installing LMS on NetBSD.

Follow the steps below to install LMS on NetBSD:

  1. First, you need to ensure that your NetBSD system is up-to-date. You can update it by running the following command:
sudo pkgin update
  1. Once your system is up-to-date, you need to install the dependencies required to install LMS. Run this command to install them.
sudo pkgin in perl5 gmake gcc49 flac faad2 libmad libogg libvorbis faac curl
  1. Now you need to download the latest version of LMS from GitHub by going to this link: https://github.com/epoupon/lms/releases/latest

  2. Download the LMS tarball by selecting the appropriate version for your NetBSD system.

  3. Extract the downloaded archive with the following command:

tar -xvzf <lms_tarball>
  1. Navigate to the extracted directory using the following command:
cd lms-x.x.x
  1. Run this command to build LMS:
perl Build.PL
  1. Run this command to prepare for the build:
./Build prepare_plugin_api
  1. Run this command to start the build:
./Build test
  1. Finally, run this command to install LMS:
sudo ./Build install
  1. Once the installation is completed, start the LMS daemon with the following command:
sudo /usr/pkg/bin/squeezeboxserver --daemon

That's all! LMS should now be installed and ready to use on your NetBSD system.

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!