Jellyfin is a free and open-source media server application. It can be installed on an Ubuntu Linux system as a Snap package through the App Center.
Alternatively, you can install the software from a
terminal window
with the command sudo snap install itrue-jellyfin.
$ sudo snap install itrue-jellyfin [sudo: authenticate] Password: itrue-jellyfin 10.11.11+ubu2604 from Isaac True (itrue) installed $
If you ever need to uninstall it, you can do so with the command
sudo snap remove itrue-jellyfin.
$ sudo snap remove itrue-jellyfin itrue-jellyfin removed (snap data snapshot saved) $
Once you've installed the application, the system should be listening on TCP port 8096 for HTTP connections and UDP port 7359 for local network client discovery. If HTTPS is enabled for Jellyfin, it will also listen on TCP port 8920. On an Ubuntu system, you can check on whether a system is listening on those ports with the ss command using the following arguments.
-t = TCP sockets
-u = UDP sockets
-l = listening sockets
-n = show numeric ports instead of service
names
E.g.:
$ sudo ss -tln | grep -E '8096|8920' LISTEN 0 512 0.0.0.0:8096 0.0.0.0:* $ sudo ss -uln | grep '7359' UNCONN 0 0 0.0.0.0:7359 0.0.0.0:* $
You can also show the -p argument to show process information for the Jellyfin server process. E.g.:
$ sudo ss -tlnp | grep jellyfin
[sudo: authenticate] Password:
LISTEN 0 512 0.0.0.0:8096 0.0.0.0:* users:(("jellyfin",pid=1912164,fd=484))
$
You can also use the lsof command to see the process ID of the Jellyfin process.
$ sudo lsof -iTCP:8096 -sTCP:LISTEN [sudo: authenticate] Password: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME jellyfin 1912164 root 484u IPv4 29170490 0t0 TCP *:8096 (LISTEN) $
If Jellyfin is listening on TCP network port 8096, you should be able
to use https://127.0.0.1:8096 in the address bar of a browser
to access the "Welcome to Jellyfin!" page.
References: