In this tutorial, we will show you how to install Jellyfin Media Server on Ubuntu 22.04 LTS. For those of you who didn’t know, Jellyfin is a free, open-source media server that allows users to stream their media content, such as movies, TV shows, music, and photos, to different devices. It is designed as an alternative to popular media servers like Plex, Emby, and Kodi. Jellyfin can be installed on a variety of platforms, including Windows, Linux, macOS, and Docker.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘
sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the Jellyfin media server on Ubuntu 22.04. You can follow the same instructions for Ubuntu 22.04 and any other Debian-based distribution like Linux Mint, Elementary OS, Pop!_OS, and more as well.
- A server running one of the following operating systems: Ubuntu 22.04, 20.04, and any other Debian-based distribution like Linux Mint.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- An active internet connection. You’ll need an internet connection to download the necessary packages and dependencies for Jellyfin.
non-root sudo useror access to the
root user. We recommend acting as a
non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
Install Jellyfin Media Server on Ubuntu 22.04 LTS Jammy Jellyfish
Step 1. First, make sure that all your system packages are up-to-date by running the following
apt commands in the terminal.
sudo apt update sudo apt upgrade sudo apt install wget apt-transport-https gnupg2 software-properties-common
Step 2. Installing Jellyfin media server on Ubuntu 22.04.
By default, Jellyfin is not available on Ubuntu 22.04 base repository. Now run the following command below to add the Jellyfin stable repository to your Ubuntu systems:
echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/ubuntu $( lsb_release -c -s ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list
Next, import the GPG key using the following command:
sudo curl -L https://repo.jellyfin.org/ubuntu/jellyfin_team.gpg.key | sudo apt-key add -
After adding the repository, update your system repositories and install the Jellyfin media server using the following command below:
sudo apt update sudo apt install jellyfin
Then, run the below
systemctl command utility to start and enable the Jellyfin:
sudo systemctl start jellyfin sudo systemctl enable jellyfin
Step 3. Configure Firewall.
By default, Jellyfin runs on port 8096. If you have an active ufw firewall, you need to allow incoming traffic on this port to access Jellyfin. You can do this by running the following command:
sudo ufw allow 8096/tcp sudo ufw enable sudo ufw status
Step 5. Accessing Jellyfin Web Interface.
Once successfully installed, open your web browser and access the Jellyfin media server Web UI using the URL
https://your-IP-address:8096. You will be redirected to the following page:
Congratulations! You have successfully installed Jellyfin. Thanks for using this tutorial for installing the Jellyfin media server on the Ubuntu system. For additional help or useful information, we recommend you check the official Jellyfin website.