How to Install Plex on Ubuntu? [Step-by-Step]


Omer Cakmak

Ubuntu

In this tutorial we will demonstrate step by step instructions to install Plex on Ubuntu.

Plex is a popular media server software that allows you to organize and stream your media content, such as movies, TV shows, music, and photos, to various devices. Installing Plex on Ubuntu is a straightforward process that can be completed in just a few simple steps. Once installed, you can access and stream your media content from anywhere, whether you're at home or on the go. In this guide, we'll walk you through the steps to install Plex on Ubuntu and get started with organizing and streaming your media content.

 

Steps to install Plex on Ubuntu

Installing Plex Media Server on Ubuntu is pretty easy. We will explain the installation step by step.

 

Step 1: Update your system

First, update the package list and packages in Ubuntu:

$ sudo apt update -y
$ sudo apt upgrade -y

Install the wget package after the update. If it is installed you can skip this step:

$ sudo apt install wget -y

 

Step 2: Downloading Plex Media Server

Plex Media Server is available on its Plex Media Server Download Page . Copy the download address of the package released for Ubuntu.

Install Plex on Ubuntu

Type the copied link after the wget command in the terminal. Depending on your internet speed, the download will complete in a few minutes.

$ wget https://downloads.plex.tv/plex-media-server-new/1.31.2.6810-a607d384f/debian/plexmediaserver_1.31.2.6810-a607d384f_amd64.deb
--2023-03-19 16:20:40--  https://downloads.plex.tv/plex-media-server-new/1.31.2.6810-a607d384f/debian/plexmediaserver_1.31.2.6810-a607d384f_amd64.deb
Resolving downloads.plex.tv (downloads.plex.tv)... 172.64.146.103, 104.18.41.153, 2606:4700:4400::6812:2999, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|172.64.146.103|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83378980 (80M) [application/x-debian-package]
Saving to: ‘plexmediaserver_1.31.2.6810-a607d384f_amd64.deb’

plexmediaserver_1 100%[=============>]  79,52M  2,76MB/s    in 28s     

2023-03-19 16:21:08 (2,89 MB/s) - ‘plexmediaserver_1.31.2.6810-a607d384f_amd64.deb’ saved [83378980/83378980]

This command will download the latest version of Plex Media Server.

 

Step 3: Install Plex Media Server

After the download is complete, you can use dpkg command to install Plex Media Server:

$ sudo dpkg -i plexmediaserver_1.31.2.6810-a607d384f_amd64.deb -y

This command installs the Plex package you just downloaded.

 

Step 4: Enable and Start Plex Service

With the installation of Plex Media Server, a service file has been installed on the system. Start servise:

$ sudo systemctl start plexmediaserver.service

and enable at startup:

$ sudo systemctl enable plexmediaserver.service

The plexmediaserver.service service is started. Check the status of the service using systemd:

How to Install Plex on Ubuntu? [Step-by-Step]

 

Step 5: Firewall Configuration

Plex Media Server must gain access to the network to communicate with other devices. So to use Plex Media Server you need to open port 32400/tcp in Ubuntu's firewall.

$ sudo ufw allow 32400/tcp
Rules updated
Rules updated (v6)

Then reload the firewall:

$ sudo ufw reload
Firewall reloaded

View the rules applied:

$ sudo ufw status
Status: active

To                         Action      From
--                         ------      ----
32400/tcp                  ALLOW       Anywhere                  
32400/tcp (v6)             ALLOW       Anywhere (v6)

 

Step 6: Configuring Plex Media Server

To configure Plex Media Server, open a web browser and type the following URL  http://<server_ip_address>:32400/web replacing server_ip_address with your server's IP address.

If you are already connected to that server, simply type the following addresses in a browser:

http://localohost:32400/web

or

http://127.0.0.1:32400/web
How to Install Plex on Ubuntu? [Step-by-Step]

You can now login to the Plex media server using an existing social media account. If you don't have an account, you can create one now.

How to Install Plex on Ubuntu? [Step-by-Step]

Configure your server name. Allow access to media outside the house and click the "Next" button.

How to Install Plex on Ubuntu? [Step-by-Step]
  • Yes, Start Syncing / No
  • Next
  • Done

The installation was successful. Click "Finish Setup".

How to Install Plex on Ubuntu? [Step-by-Step]

You can now use Plex Media Server.

How to Install Plex on Ubuntu? [Step-by-Step]

Summary

In summary, to install Plex on Ubuntu, you need to first update your system and install the required dependencies, followed by downloading the Plex Media Server. You can then install the server using the package manager and start it. After that, you need to configure the firewall settings to allow access to the server. Finally, you can configure the Plex Media Server to organize and stream your media content. By following these steps, you can set up Plex on your Ubuntu system and start enjoying your favorite media content.

www.golinuxcloud.com - Install Plex media server Debian 11 [Step-by-Step]
support.plex.tv - Installation

Views: 45

Omer Cakmak

He is highly skilled at managing Debian, Ubuntu, CentOS, Oracle Linux, and Red Hat servers. Proficient in bash scripting, Ansible, and AWX central server management, he handles server operations on OpenStack, KVM, Proxmox, and VMware. You can connect with him on LinkedIn or check his projects on GitHub page.

Can't find what you're searching for? Let us assist you.

Enter your query below, and we'll provide instant results tailored to your needs.

If my articles on GoLinuxCloud has helped you, kindly consider buying me a coffee as a token of appreciation.

Buy GoLinuxCloud a Coffee

For any other feedbacks or questions you can send mail to admin@golinuxcloud.com

Thank You for your support!!

Leave a Comment


We try to offer easy-to-follow guides and tips on various topics such as Linux, Cloud Computing, Programming Languages, Ethical Hacking and much more.

Programming Languages

JavaScript

Python

Golang

Node.js

Java

Laravel