Categories: Ubuntu

How to Install Plex on Ubuntu 22.04

Plex is regarded as a server that allows the streaming of media by letting its users store media in a single place. This stored media can be later on accessed using a client application such as another computer or phone. Furthermore, the stored data is arranged in an organized manner that makes navigation through the data very easy. Plex has the capability to operate on the major operating systems, including Linux-based systems such as Ubuntu 22.04.

This blog teaches you how to install the latest version of Plex on Ubuntu 22.04 using various methods; therefore, read the full article.

How to Install Plex on Ubuntu 22.04

Sponsored

For the purpose of installing Ubuntu 22.04, follow the steps given below.

Step 1: System Update

First and foremost, make sure that your system is up to date, and for this run, the below-mentioned command:

$ sudo apt update && sudo apt upgrade

Output

System is updated.

Step 2: Include Dependencies

To install basic Plex, you need to install some dependencies, which can be done with the help of the following command:

$ sudo apt install apt-transport-https curl wget -y

Output

Dependencies have been installed.

Step 3: Install Plex Repository

In this step, we will add the plex repository to our system.

$ echo deb [signed-by=/usr/share/keyrings/plex.gpg] https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list

In the next step, we will execute the below-given “wget” command for importing the GPG key to our Ubuntu 22.04 system:

$ sudo wget -O- https://downloads.plex.tv/plex-keys/PlexSign.key | gpg –dearmor | sudo tee /usr/share/keyrings/plex.gpg

Here is the output of the above-given command:

Now, move towards the next step.

Step 4: Install Plex

Sponsored

We have the plex repository and the GPG key; we can now move towards the Plex installation:

$ sudo apt install plexmediaserver -y

Output

Step 5: Evaluate Status

Once installed, the software will run automatically, therefore if you wish to see its status then run this command.

$ sudo systemctl status plexmediaserver

Output

The software is running actively. If it is not started, start it by using the command given below:

$ sudo systemctl start plexmediaserver

Also, you have to enable this software to begin automatically on system boot, if you want.

$ sudo systemctl enable plexmediaserver

Step 6: Enable Firewall

If you have an active firewall, then you need to enable it by opening port 32400 through the firewall using this command.

$ sudo ufw allow 32400

Output

The port has been enabled.

Step 6: Configure Plex

Now, go to your browser and type http://localhost:32400/web. You will see this on your screen.

Now sign in using your desired option and start using the application.

Conclusion

For the purpose of installing Plex on Ubuntu 22.04 you have to include certain dependencies, install the Plex repository, import the GPG key and then install Plex. Once installed you can evaluate its status to see whether the app is working or not. Then enable the firewall and type this on the browser http://localhost:32400/web to start using the app.

Ubuntu Server Admin

Recent Posts

Canonical Releases Ubuntu 25.04 Plucky Puffin

The latest interim release of Ubuntu introduces “devpacks” for popular frameworks like Spring, along with…

2 days ago

Ubuntu 25.04 (Plucky Puffin) Released

Ubuntu 25.04, codenamed “Plucky Puffin”, is here. This release continues Ubuntu’s proud tradition of integrating…

3 days ago

Extended Security Maintenance for Ubuntu 20.04 (Focal Fossa) begins May 29, 2025

Ubuntu released its 20.04 (Focal Fossa) release 5 years ago, on March 23, 2020. As…

3 days ago

Ubuntu 20.04 LTS End Of Life – activate ESM to keep your fleet of devices secure and operational

Focal Fossa will reach the End of Standard Support in May 2025, also known as…

4 days ago

Ubuntu MATE 25.04 Release Notes

Ubuntu MATE 25.04 is ready to soar! 🪽 Celebrating our 10th anniversary as an official…

4 days ago

Ubuntu Weekly Newsletter Issue 887

Welcome to the Ubuntu Weekly Newsletter, Issue 887 for the week of April 6 –…

6 days ago