How to install Plex Media Server on Ubuntu 20.04

How to install Plex Media Server on Ubuntu 20.04

Plex is an open-source, free software through which you can easily stream videos, photos, and audio files on your computer, smartphones, and tablets from any location around the world using the internet. It is a full-featured media server where you can manage or store your TV shows, videos, movies, music, images, and much more using an attractive interface. It supports various features by which you can create your favorite music and movies playlist and synchronize the media files for offline use. Using plex media server, you can stream local TV channels to your device and watch your favorite TV shows. Plex media server applications can install almost all operating systems such as Linux (Ubuntu, Debian, CentOS, Fedora, etc.), Windows, FreeBSD, and Mac.

This how-to guide will demonstrate to you how to install Plex Media Server on Ubuntu 20.04 system.


Ubuntu 20.04 distribution should install your system.

You should have sudo or root privileges for installation.

Methods to install Plex Media Server on Ubuntu 20.04

Plex media server can install on Ubuntu 20.04 Linux system using the following two different methods:

  1. Install Plex Media Server using official Plex repository
  2. Installing Plex Media Server using the. deb package

Method 1:
Install Plex Media Server using official Plex repository

Plex media server is not present in the official Ubuntu repositories. However, you can install it by enabling the official Plex media apt repository on your Ubuntu 20.04 distribution. Execute the below-mentioned command to import the GPG key and include the plex apt repository to your system:

$ curl | sudo apt-key add –

screenshot of ubuntu terminal

$ echo deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list

screenshot of ubuntu terminal

Once the Plex media repository is added and enabled, update the packages list and install the Plex media server using the apt command:

$ sudo apt update

screenshot of ubuntu terminal

$ sudo apt install plexmediaserver

screenshot of ubuntu terminal

Method 2:
Plex Media Server installation using the .deb package

To install the Plex media server using this method, download the plex media .deb package from the official Plex website by using the following wget command:

$ wget

screenshot of ubuntu terminal

Navigate into the Downloads directory and run the following command to install the downloaded .deb package on Ubuntu 20.04 system:

$ sudo apt install ./plexmediaserver_1.20.4.3517-ab5e1197c_amd64.deb

screenshot of ubuntu terminal

Use the following command to start the Plex media service:

$ sudo systemctl start plexmediaserver

Display the running status of the Plex media server by executing the below-mentioned command:

$ sudo systemctl status plexmediaserver

screenshot of ubuntu terminal

In the above screenshot, you can see that the plex media server is active and running on this Ubuntu system.

Start and configure the Plex web interface

Plex media server web interface can be accessed using the port ‘32400’. To launch the web interface of the Plex media server, type the below-mentioned URL in the address bar of your system browser:


The following login web interface of the Plex media server will display on your system:

screenshot of Plex authorization page

You can sign in using your existing google account or can create a new account for a user. After login into the plex media server, it shows the interface on which you can see how the plex media server will work. Click on the ‘Got it’ to continue the configuration.

screenshot of Plex Welcome page with highlighted GOT IT! button

Assign a suitable name to your server or continue with the default server name and mark the check box. Click on the ‘Next’:

screenshot of Plex Server Setup page with highlighted a server name area

You can also add a library by using the ‘Add Library’ option.

screenshot of Server setup process (Adding a Library)

In the next interface, you will select the library type.

screenshot of Server setup process (selecting a library) with highlighted Games library type

Browse for the media folder and click on the ‘Add Library’.

screenshot of adding a folders to library

After completing the configurations, click on the ‘Done’.

screenshot of Server setuping process

The added libraries will display in the web dashboard of the Plex media server.

screesnhot of Plex web dashboard

Updating Plex media server

In the market, when a new version is released, you can update the Plex media server by typing the below-given commands:

$ sudo apt update

$ sudo apt install --only-upgrade plexmediaserver


We demonstrated two different methods in this tutorial for the installation of the Plex media server on Ubuntu 20.04.  We have seen how to configure the Plex media web interface and manage media libraries.

How To Set up a VSFTPD Server on a CentOS 7 VPS or Dedicated Server

Brief Description FTP is usually insecure exposing clear-text passwords, userna
2 min read
Avi Ilinsky
Avi Ilinsky
Hosting Expert

How To Set up a VSFTPD Server on an Ubuntu 16.04 VPS or Dedicated Server

Brief Description FTP data is usually insecure since information (usernames, pa
2 min read
Eliran Ouzan
Eliran Ouzan
Web Designer & Hosting Expert

How to use phpMyAdmin to develop a website (without MySQL experience)

Brief description A web developer who is not well versed into coding websites f
2 min read
Idan Cohen
Idan Cohen
Marketing Expert

How to Install MySQL on a Windows Web Server Running Apache

This tutorial will show you how to install the MySQL database on a Windows serve
3 min read
Michael Levanduski
Michael Levanduski
Expert Hosting Writer & Tester provides professional web hosting reviews fully independent of any other entity. Our reviews are unbiased, honest, and apply the same evaluation standards to all those reviewed. While monetary compensation is received from a few of the companies listed on this site, compensation of services and products have no influence on the direction or conclusions of our reviews. Nor does the compensation influence our rankings for certain host companies. This compensation covers account purchasing costs, testing costs and royalties paid to reviewers.
Click to go to the top of the page
Go To Top