Gerbera is an open-source media server software that allows you to stream and manage your media libraries to various devices on your local network. In this tutorial, we will guide you on how to install Gerbera on EndeavourOS Latest.
Before proceeding with the installation, make sure that your system is up-to-date with the latest patches and updates.
sudo pacman -Syu
Gerbera has a few dependencies that need to be installed before we can proceed with the installation. Install the dependencies using the following command:
sudo pacman -S cmake libupnp libexif libsqlite3 libcurl libspatialite libmicrohttpd ffmpeg
Download the latest version of Gerbera from its official website using the following command.
wget https://github.com/gerbera/gerbera/releases/latest.tar.gz
Extract the compressed tarball using the tar command.
tar -zxf latest.tar.gz
Now, change your working directory to the extracted directory.
cd gerbera*
Run the following commands to build and install Gerbera.
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
make
sudo make install
Once Gerbera is installed, we need to configure it to meet our requirements. Gerbera configuration files are located in /usr/local/etc/gerbera/
directory.
Edit the gerbera.conf
configuration file using a text editor of your choice.
sudo nano /usr/local/etc/gerbera/gerbera.conf
You can change the default values in the configuration file to match your needs.
port = 49152
root-container = "/media"
Save and exit the file.
Finally, start Gerbera using the following command.
gerbera --config /usr/local/etc/gerbera/gerbera.conf
If everything is ok, you will see the following output on your terminal.
[INFO] - Gerbera - Version: 1.9.3 - UUID: xx-xx-xx-xx
[INFO] - Automatic discovery of network interfaces has been enabled
[INFO] - HTTP Engine Implementation: libmicrohttpd
[INFO] - Server started at: http://192.168.1.10:49152/
In this tutorial, we have explained how to install Gerbera on EndeavourOS Latest. You can now configure Gerbera to serve media files 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!