How to Install Plex on Ubuntu?

02-Jun-2023

.

Admin

How to Install Plex on Ubuntu?

Hello Friends,

This article will provide some of the most important examples of how to install Plex on Ubuntu. if you have a question about how to install the Plex media server on Ubuntu then I will give a simple example with a solution. if you want to see an example of installation plex support then you are in the right place. I explained simply how to install Plex player on linux.

Install Plex on Linux Ubuntu 22.04. Through this tutorial, we will learn how to install and use Plex on Linux Ubuntu 22.04. The Plex Media Server organizes videos, audio, and photos from a user's collections and online services, and streams them to players.

Step 1: Update System Packages


Execute the following command on the command line to update the system package:

sudo apt update && sudo apt upgrade

Step 2: Install curl wget

Then execute the following command on the command line to install curl and wget dependencies:

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

Step 3: Install Plex Repository and Add GPG Key

Now, use the following command on the command line to install the plex repository:

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

Then execute the following “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

Step 4: Install Plex

Install plex by executing the following command on the command line:

sudo apt install plexmediaserver -y

Step 5: Check Plex Status

Once the plex installation is completed, check the status of plex by using the following command:

sudo systemctl status plexmediaserver

Step 6: Enable and Start Plex

Now, enable and start the plex server by using the following commands on the command line:

sudo systemctl start plexmediaserver

sudo systemctl enable plexmediaserver

Step 7: Enable Firewall

Once the enable and start plex, we need to enable the firewall by opening port 32400 of the firewall using the following command:

sudo ufw allow 32400

Step 8: Use Plex

Finally, open browser and type http://localhost:32400/web.

I hope it can help you...

#Ubuntu