Today’s guide discusses how to install Jellyfin media streaming server on Ubuntu. Jellyfin is a free, cross-platform and open source alternative to propriety media streaming applications such as Emby and Plex. Jellyfin is easy to install and set up and accessible via the browser. It also supports GNU/Linux, macOS and Microsoft Windows operating systems.
Step 1: Install HTTPS transport
Run the below command to install HTTPS transport for ATP if not there already there.
sudo apt install apt-transport-https
Step 2: Enable Universe repository
Use the below command to enable universe repository on Ubuntu.
sudo add-apt-repository universe
Step 3: Add Jellyfin GPG signing key
Run the command below to import and add Jellyfin GPG signing key.
wget -O - https://repo.jellyfin.org/ubuntu/jellyfin_team.gpg.key | sudo apt-key add -
Step 4: Add the Jellyfin repository
Use this commands to add Jellyfin repository to your Ubuntu system. Update repository.
sudo touch /etc/apt/sources.list.d/jellyfin.list 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 sudo apt update
Step 5: Install Jellyfin on Ubuntu
Having added and updated repository, install Jellyfin with the below command:
sudo apt install jellyfin
Step 6: Start Jellyfin Service
Enable and start Jellyfin Service with the below commands.
sudo systemctl enable jellyfin sudo systemctl start jellyfin
Confirm Jellyfin service status
$ sudo systemctl status jellyfin ● jellyfin.service - Jellyfin Media Server Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/jellyfin.service.d └─jellyfin.service.conf Active: active (running) since Thu 2020-09-17 21:08:26 UTC; 1min 16s ago Main PID: 89960 (jellyfin) Tasks: 17 (limit: 19139) CGroup: /system.slice/jellyfin.service └─89960 /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web --restartpath=/usr/lib/jellyfin/restart.sh --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg
Step 7: Set up Jellyfin Media streaming server.
Once Jellyfin is installed, navigate on your browser using http://<your-server-ip>:8096. You should see an output as below:
Choose your language and click next. In the next screen, create a user and enter a password of your choice and click next.
The next page prompts you to set media libraries. Click on the + sign and you are taken to chose content type, display name and other preferred settings. Click the + sign next to Folders to choose where to save your media files. When done, click OK
You can add more and more folders by clicking the + sign. Once done click next
In the next page, choose metadata language and click next
Enable remote access and automatic port mapping then click next
In the next screenshot, click finish
The next page prompts you to login. Enter the username and the password you set earlier. Click sign in
Once you log in you will see the created folders.
Click on the media file to start watching it. If you need to add or change settings, click on the three horizontal bars from the home screen. You can add users, media files, change playback settings, add TV/DVR, install plugins, change default port no and many more settings.
Jellyfin Media Server Clients
Clients connect your devices to your Jellyfin server and let you view your content on any supported device. We have seen above how to access Jellyfin on chrome browser, being one of the Jellyfin clients. Other supported browsers are:
- Firefox ESR
- Chrome for Android
- Safari for MacOS and iOS
Android also has Jellyfin clients available in Google Play Store. These are Jellyfin for Android, Gelli and Jellyfin for Android TV. Roku is a A cross-platform desktop media interface using Electron supporting Windows, MacOS, Linux and Raspberry Pi. Apple also has Infuse and jellyfin available on Apple Store.
This has been a guide for installing Jellyfin Media server on Ubuntu. Have fun with it. Check other interesting guides below: