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

How to Fix VMware’s “Could not open /dev/vmmon” Error on Ubuntu

You’ve recently installed VMware Workstation on your Ubuntu system and encountered the frustrating “Could not…

27 minutes ago

How to Fix Ubuntu 404 Errors While Fetching Dependencies

Have you ever found yourself staring at a terminal full of 404 errors while trying…

27 minutes ago

How to Fix ‘Please Install All Available Updates’ Error When Upgrading Ubuntu 18.04 to 20.04 LTS

One particularly frustrating error that many users face when trying to upgrade from Ubuntu 18.04 …

28 minutes ago

How to fix “Release is not valid yet” Error in Docker Containers

In the world of containerization, time synchronization issues can create unexpected roadblocks when working with…

28 minutes ago

How to fix “Externally Managed Environment” Pip Errors on Ubuntu

If you’ve recently upgraded to Ubuntu 23.04 or newer, you might have encountered a frustrating…

28 minutes ago

Ubuntu now officially supports NVIDIA Jetson: powering the future of AI at the edge

Canonical announces the General Availability of Ubuntu for the NVIDIA® Jetson Orin™ for edge AI…

7 hours ago