How to Install Plex Media Server on Ubuntu 20.04

Install Plex Media Server on Ubuntu 20.04

In this article, we will have explained the necessary steps to install and configure Plex Media Server on Ubuntu 20.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Plex Media Server organizes video, audio, and photos from your media collections and several online services. Based on the client-server model, Plex turns an ordinary system into a full-fledged media server. All media files are stored in a single system with a Plex server installed. The server organizes the media from your collection and from online services. You can then access the media on the server from any smartphone, smart TV, or streaming box. All you need is to have a Plex client installed on these devices. You can install the Plex media server on many different operating systems, including Windows, Mac, Linux, and NAS OS.

Install Plex Media Server on Ubuntu 20.04

Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.

sudo apt update
sudo apt upgrade

Step 2. Install Plex Media Streaming Server on Ubuntu.

Now we enable the Plex media repository on Ubuntu 20.04 and then download it purely with the command, to setup:

curl | sudo apt-key add -

After that, Installing Plex Server application using the following command:

sudo apt update
sudo apt install plexmediaserver

We have successfully installed it, now its time to check whether the Plex is up and running on our Ubuntu 20.04 server properly without any error:

sudo systemctl status plexmediaserver
sudo systemctl start plexmediaserver

Step 3. Accessing Plex Media Server.

The web-based management interface is available at port 32400. Open your browser and access the Plex Media set up page by going to the below URL:


If you are using a server with firewall UFW enabled then, you won’t be able to access Plex with any other computer available in the same network:

sudo ufw allow 32400

That’s all you need to do to install Plex on Ubuntu 20.04 Focal Fossa. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.