How to Install Gerbera on Ubuntu Server Latest

Gerbera is a media server software that allows you to easily stream media files (audio, video, and images) to your devices over your home network. In this tutorial, we will walk you through the installation process of Gerbera on an Ubuntu server.

Prerequisites

Before we start, you will need the following:

sudo apt update
sudo apt upgrade

Install Gerbera

To install Gerbera, follow these steps:

  1. Add the Gerbera repository to your system using the command:
sudo add-apt-repository ppa:gerbera/ppa
  1. Update the package list:
sudo apt update
  1. Now, install Gerbera using the command:
sudo apt install gerbera
  1. Once the installation is complete, start the Gerbera service using the command:
sudo systemctl start gerbera
  1. Verify that the service is running using the command:
sudo systemctl status gerbera

You should see an output similar to this:

● gerbera.service - Gerbera UPnP/DLNA Media Server
     Loaded: loaded (/lib/systemd/system/gerbera.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-08-28 15:55:20 UTC; 2s ago
   Main PID: 5640 (gerbera)
      Tasks: 4 (limit: 2324)
     Memory: 25.6M
     CGroup: /system.slice/gerbera.service
             └─5640 /usr/bin/gerbera -D -c /etc/gerbera/config.xml
  1. Gerbera should now be up and running. To access the Gerbera web interface, open your preferred web browser and navigate to http://your-server-IP:49152/. You should see the Gerbera home page.

Congratulations, you have successfully installed Gerbera on your Ubuntu server. You can now start adding media files and streaming them to your devices over your home 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!