How to Install Jellyfin on Ubuntu 20.04

Jellyfin is the volunteer-built media solution that puts you in control of your media. Stream to any device from your server, with no strings attached. Your media, your server, your way. Jellyfin also can serve media to DLNA and Chromecast-enabled devices. It is a free and open-source software fork of Emby. In this article, we are going to learn how to install Jellyfin on Ubuntu 20.04 So, let’s get started.

Checkout the Jellyfin Project Here.

Try this wiki on our VPS. Starting at just $5/month with 24x7 In-house customer support.

Install HTTPS transport for APT

This package enables the usage of 'deb https://foo distro main' lines in the /etc/apt/sources.list so that all package managers using the libapt-pkg library can access metadata and packages available in sources accessible over https (Hypertext Transfer Protocol Secure).

 apt install apt-transport-https

Get the GPG key

curl -fsSL https://repo.jellyfin.org/jellyfin_team.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/jellyfin-archive-keyring.gpg

Add the Ubuntu Jellyfin repository

echo "deb [signed-by=/usr/share/keyrings/jellyfin-archive-keyring.gpg] https://repo.jellyfin.org/ubuntu focal main" | sudo tee /etc/apt/sources.list.d/jellyfin.list

Install Jellyfin

Now that you have the apt repository sorted, you can now proceed to install the Jellyfin with the following command:

  apt update

  apt install jellyfin

Output:

 root@vps:~# apt install jellyfin

Created symlink /etc/systemd/system/multi-user.target.wants/jellyfin.service → /lib/systemd/system/jellyfin.service.
Setting up libtheora0:amd64 (1.1.1+dfsg.1-15ubuntu2) ...
Setting up jellyfin-ffmpeg7 (7.1.1-3-focal) ...
Setting up jellyfin (10.10.7+ubu2004) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.17) ...

Now, restart & check the Jellyfin with the following commands:

sudo systemctl enable jellyfin
sudo systemctl start jellyfin

Configure Jellyfin

Now open the IP address or Domain name from your browser, this will redirect you to the Jellyfin.

Jellyfin runs on port 8096 and to access the Jellyfin Web UI, you must open your internet browser and navigate tohttp://server-ip:8096/

Replace server-ip with the actual IP address of the server.

Follow the below steps to complete the configuration on the web UI:

Select your Preferred language

Add a Admin user account

Add the Media files

Set the Preferred Metadata Language, for this, we will set it as English

Login with the account that was created earlier

Dashboard of Jellyfin where you can manage your contents

Now you have successfully installed Jellyfin on Ubuntu 20.04.


CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS