How to Install Jellyfin on Kali Linux

If you’re into digital media streaming and crave a customizable, open-source alternative to mainstream platforms like Plex or Emby, you’ll love Jellyfin. This powerful media server allows you to organize, stream, and enjoy your content across multiple devices—all without subscriptions or data tracking. In this article, we’ll guide you step-by-step on how to install Jellyfin on Kali Linux, a Debian-derived Linux distribution known for advanced penetration testing and security tools. Although Kali isn’t the most common host for media servers, it’s certainly capable of running one.

TL;DR

To install Jellyfin on Kali Linux, make sure your system is up to date and has .NET support. Add the official Jellyfin repository, install the server using APT, and start the service. Configure it via the web UI and begin adding your media libraries. This guide walks you through each of those steps in detail, providing tips and explanations to make the setup seamless.

Why Install Jellyfin on Kali Linux?

While Kali Linux is primarily geared toward cybersecurity professionals, enthusiasts often use it as their main operating system. If you want to consolidate your media server on a device that also serves other functions or simply prefer working from your Kali environment, setting up Jellyfin is a great way to leverage its capabilities.

Here are a few reasons why you might consider installing Jellyfin on Kali:

  • Full control over your media and server environment
  • Privacy-focused: No tracking or ads
  • Cross-platform access with apps for Android, iOS, web, and smart TVs
  • Community support and open-source contributions to extend functionality

Pre-requisites

Before diving into installation, make sure your system is ready. You’ll need:

  • A working Kali Linux installation (preferably updated)
  • Root or sudo privileges
  • At least 2 GB of RAM for smoother operation
  • A stable internet connection

Step 1: Update Your System

First, ensure your system repositories and packages are up to date. Run the following command in your terminal:

sudo apt update && sudo apt upgrade -y

This will make sure you have the latest security patches and dependencies installed, which helps prevent issues during Jellyfin installation.

Step 2: Enable HTTPS Transport for APT

Since we’ll be downloading software from an external repository, it’s good practice to use HTTPS transport for APT.

sudo apt install apt-transport-https

This ensures secure and encrypted communication when fetching packages.

Step 3: Add Jellyfin Repository and GPG Key

Download Jellyfin’s official repository GPG key. This helps verify the authenticity of the packages being installed.

wget -O - https://repo.jellyfin.org/debian/jellyfin_team.gpg.key | sudo tee /etc/apt/trusted.gpg.d/jellyfin.gpg.key

Now, add the Jellyfin repository to your system’s sources list:

echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/debian bookworm main" | sudo tee /etc/apt/sources.list.d/jellyfin.list

Note: Kali Linux is based on Debian, so using the Debian repository works seamlessly.

Step 4: Install Jellyfin

After adding the repository, update APT again to include the new source:

sudo apt update

Then, install Jellyfin using the following command:

sudo apt install jellyfin -y

This installs the Jellyfin server along with all required dependencies.

Step 5: Start and Enable Jellyfin Service

Once the installation is complete, you need to start the Jellyfin service:

sudo systemctl start jellyfin

To make Jellyfin start automatically on system boot:

sudo systemctl enable jellyfin

You can check the status of the server at any time by running:

sudo systemctl status jellyfin

Step 6: Accessing the Web Interface

By default, Jellyfin runs on port 8096. Open your web browser and navigate to:

http://localhost:8096

Or, replace localhost with your machine’s IP address to access it from another device.

The first launch will take you through an intuitive setup wizard, where you can:

  • Choose your preferred language
  • Create an admin account
  • Add media folders
  • Select metadata sources

Step 7: Add Your Media Libraries

After completing the setup wizard, it’s time to add your media. Jellyfin supports a range of formats and organizes them into libraries such as:

  • Movies
  • TV Shows
  • Music
  • Books
  • Photos

To add your media, go to the Dashboard > Libraries and click on + Add Media Library. Provide a name, select the type of media, and browse to the location of your media files.

Step 8: Optional – Enable Remote Access

If you want to stream media from Jellyfin outside your internal network, you’ll need to allow remote access. This includes:

  • Forwarding port 8096 on your router
  • Setting up a static IP or using dynamic DNS
  • Optionally, securing your connection with an SSL certificate via Let’s Encrypt or a reverse proxy

Keep in mind that exposing your server to the internet comes with security risks. Make sure to use a strong admin password and keep your system up to date.

Troubleshooting Tips

Encountering issues? Here are a few things you can check:

  • Service not starting? Make sure you used sudo systemctl start jellyfin
  • Web UI not loading? Verify that port 8096 is not blocked by any firewall
  • Missing codecs? Jellyfin relies on FFmpeg for media transcoding. Make sure it’s installed

You can always check Jellyfin’s logs, located at:

/var/log/jellyfin

These logs can provide useful troubleshooting information about failed media playback, login issues, or metadata fetch errors.

Enhancing Your Jellyfin Experience

Once your Jellyfin server is running smoothly, you can enhance its functionality in multiple ways:

  • Install Plugins: Go to Dashboard > Plugins and explore additional features like subtitle downloaders, theme music, audiobook support, etc.
  • Set Up Users: Create guest or family member accounts with customized permissions
  • Use Mobile Apps: Access your content on-the-go via Android or iOS apps
  • Connect to Kodi: Integrate Jellyfin with Kodi media center for a more immersive experience

Conclusion

Installing Jellyfin on Kali Linux may not be the most conventional route, but it’s a powerful way to make the most out of your system. Whether you’re creating a secure self-hosted media server or simply personalizing your entertainment setup, Jellyfin gives you the tools without locking you into subscription models or external dependencies.

With just a few terminal commands and some initial setup, your Jellyfin instance can be up, running, and tailored exactly to your needs—right from your Kali-powered workstation.

Happy streaming!