How to Install Jellyfin on Ubuntu Linux

man 1351761 640

This brief tutorial shows students and new users how to install  Jellyfin on Ubuntu 20.04 | 18.04.

 Jellyfin is an open source media stream. Anyone can install and setup their own media library similar to Netflix or Plex.

With Jellyfin you organize your media content (book, movies, music, etc.) and stream to any device from your own server, with no strings attached. Your media, your server, your way.

After setting up your home media server with Jellyfin, you can then link your media using Jellyfin Android/iOS app. It’s simple to setup and use.

To get started setting up Jellyfin, follow the steps below:

Prepare Ubuntu

Before installing Jellyfin run the commands below to install these packages in Ubuntu.

Install HTTPS transport for APT and enable the Universe repository to obtain all the FFMpeg dependencies.

sudo apt update
sudo apt install apt-transport-https
sudo add-apt-repository universe

Add Jellyfin repository

After installing the packages above, run the commands below to add Jellyfin repository to Ubuntu.

First run the commands below to import the GPG signing key for the repository.

wget -O - | sudo apt-key add -

Then run the commands below to create a repository file for Jellyfin.

echo "deb [arch=$( dpkg --print-architecture )] $( lsb_release -c -s ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list

When you’re done, continue below.

Install Jellyfin

At this point you should be ready to install Jellyfin. Run the commands below to update and install Jellyfin.

sudo apt update
sudo apt install jellyfin

After installing above, the commands below can be used to start, stop and enable Jellyfin to automatically start up when your computer boots.

sudo systemctl start jellyfin
sudo systemctl stop jellyfin
sudo systemctl enable jellyfin

To validate that Jellyfin is installed and working, run the commands below to see its status.

sudo systemctl status jellyfin

That should display similar lines as shown below:

● jellyfin.service - Jellyfin Media Server
     Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/jellyfin.service.d
     Active: active (running) since Mon 2021-03-01 16:54:25 CST; 1min 26s ago
   Main PID: 3485 (jellyfin)
      Tasks: 20 (limit: 4654)
     Memory: 85.4M
     CGroup: /system.slice/jellyfin.service
             └─3485 /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web --restartpath=/usr/lib/jellyfin/restart>

Mar 01 16:54:32 ubuntu2004 jellyfin[3485]: [16:54:32] [INF] Registering publisher for urn:schemas-upnp-org:dev>

Finally, open your browser and browse to the server hostname of IP address followed by port #8096.


That will open Jellyfin portal where you can setup your account and begin managing your media content.

The wizard will help guide you through the setup process. To begin, you’ll need to select your preferred language.

jellyfin ubuntu install

Jellyfin includes support for user profiles with granular display settings, play state, and parental controls.

jellyfin ubuntu user profile

After that, begin adding media library you want to stream.

jellyfin ubuntu media library

That’s it!


This post showed you how to install Jellyfin media server on Ubuntu 20.04 | 18.04. If you find any error above, please use the comment form below to report.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.