Jellyfin: The Ultimate Free Media Server for Linux Users

If you’re looking for a free, open-source way to manage and stream your media files on Linux, Jellyfin is the answer, which is an open-source media server that lets you organize your movies, TV shows, music, and photos in one place and stream them to all your devices.

It’s like having your own Netflix or Spotify, but without the monthly subscription!

In this article, we’ll explain what Jellyfin is, why it’s awesome, and how you can set it up on your Linux system.

What is Jellyfin?

Jellyfin is a free software media server, which means the code is available for everyone to see, use, and improve. Unlike other media systems like Plex or Emby, Jellyfin doesn’t have any premium features hidden behind a paywall. Everything is completely free, with no ads or tracking.

With Jellyfin, you can:

  • Organize your media files into a beautiful library.
  • Stream your media to devices like smartphones, smart TVs, web browsers, or media players.
  • Create multiple user profiles for your family or friends.
  • Watch live TV if you have a tuner and an antenna.

How to Install Jellyfin on Linux

Jellyfin supports various installation methods depending on your Linux operating system:

On Debian, Ubuntu and Mint

To make the deployment process easier and more automated for everyone, Jellyfin provides a convenient BASH script, which takes care of adding the necessary repository and installing Jellyfin on a Debian-based system.

curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash

RHEL, Fedora, and other RPM Distributions

Jellyfin provides an official repository for RPM-based distributions, which will allow you to install and update Jellyfin easily.

sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install jellyfin
sudo systemctl enable --now jellyfin

On Arch Linux

Jellyfin is available in the Arch User Repository (AUR). While you can manually download and build the package, using an AUR helper like yay simplifies the process.

If you don’t already have yay installed, you can install it as follows:

sudo pacman -S git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

Once yay is installed, you can use it to install Jellyfin.

yay -S jellyfin
sudo systemctl start jellyfin
sudo systemctl enable jellyfin

By default, Jellyfin runs on port 8096 for HTTP traffic and if you’re using a firewall like ufw (Uncomplicated Firewall) or firewalld, you need to open port 8096 by running the following command.

On UFW:

sudo ufw allow 8096/tcp
sudo ufw status

On FirewallD:

sudo firewall-cmd --zone=public --add-port=8096/tcp --permanent
sudo firewall-cmd --reload

Step 2: How to Access Jellyfin on Linux

Once Jellyfin is running, you can access it by opening a web browser and typing:

http://localhost:8096
Jellyfin Setup Wizard
Jellyfin Setup Wizard

Follow the on-screen setup wizard to create an admin account and configure your Jellyfin server.

Jellyfin User Account
Jellyfin User Account

After logging in to the Jellyfin web interface, click on the “Admin Dashboard” and then navigate to the “Libraries” section.

Jellyfin Media Library
Jellyfin Media Library

Click on “Add Library” and choose the type of media you want to add (Movies, TV Shows, Music, etc.). Then, browse to the folder where your media is stored and select it.

Add Media to Jellyfin
Add Media to Jellyfin

Jellyfin will automatically scan your media files and organize them. Optionally, you can enhance your experience by adding plugins for subtitles, themes, or additional metadata.

Jellyfin Add Plugins
Jellyfin Add Plugins

Step 3: Accessing Jellyfin from Other Devices

Jellyfin makes it easy to access your media from other devices.

  • Install the Jellyfin App – Jellyfin has apps for Android, iOS, and smart TVs.
  • Connect to Your Server – Open the Jellyfin app and enter the IP address of your Jellyfin server (you can find this in the Jellyfin web interface). Once connected, you can start streaming your media.
Conclusion

Jellyfin is an excellent choice for Linux users who want a free, open-source media server, as it is easy to set up, supports a wide range of devices, and respects your privacy.

Whether you’re a movie buff, TV show lover, or music enthusiast, Jellyfin can help you organize and enjoy your media collection with ease.

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Ravi Saive
I am an experienced GNU/Linux expert and a full-stack software developer with over a decade in the field of Linux and Open Source technologies

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.