plex media server ubuntu install

Plex Media Server Installation Guide: Ubuntu

By Richard Lopez
AD

Setting up a Plex Media Server on Ubuntu not only allows you to stream and organize your media files but also enables you to access them from anywhere in the world. This guide walks you through the process of installing Plex Media Server on Ubuntu, ensuring a smooth and SEO-friendly user experience.

Before diving into the installation process, ensure your Ubuntu system is up-to-date. This will prevent potential compatibility issues and provide a stable environment for Plex Media Server to run on. You can update your system using the following commands:

Prepare Your Ubuntu System

To update your package index, use the following command:

AD
How to Install Plex Media Server on Linux: A Tutorial for Newbie
How to Install Plex Media Server on Linux: A Tutorial for Newbie
How to Install Plex on Linux
How to Install Plex on Linux
PLEX Media Server | Complete Setup on Linux
PLEX Media Server | Complete Setup on Linux

sudo apt update

Next, upgrade your installed packages with:

How To Install Plex Media Server on CentOS 7
How To Install Plex Media Server on CentOS 7
I ditched my Plex subscription for this self-hosted media server and never looked back
I ditched my Plex subscription for this self-hosted media server and never looked back
a flat screen tv sitting on top of a white table next to a lamp and chair
a flat screen tv sitting on top of a white table next to a lamp and chair

sudo apt upgrade

Install Required Dependencies

Plex Media Server requires specific dependencies to function correctly. Install them using the following command:

AD

sudo apt install default-jdk headless

Getting Started With Plex Media Server on Raspberry Pi
Getting Started With Plex Media Server on Raspberry Pi
Plex for Linux now available as a Snap
Plex for Linux now available as a Snap
How to Install and Setup Plex on your Computer
How to Install and Setup Plex on your Computer
Plex Live TV & DVR: An Imperfect But Essential Tool for Cord Cutters
Plex Live TV & DVR: An Imperfect But Essential Tool for Cord Cutters
Manually update your Plex Media Server on Freenas - Quick & Simple
Manually update your Plex Media Server on Freenas - Quick & Simple
Running the Plex Media Server in a Docker Container
Running the Plex Media Server in a Docker Container

The default-jdk package provides the Java Development Kit, which is essential for running Plex, while headless ensures the system doesn't require a graphical environment.

Import the Plex GPG Key and Repository

To install Plex Media Server, first import the GPG key and add the Plex repository to your system's sources list. Use the following commands:

AD

curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -

a book with the title plex a manual for your media, with style
a book with the title plex a manual for your media, with style
Starting a Plex Media Server - Everything you need to know
Starting a Plex Media Server - Everything you need to know
How to Set Up a Plex Server on MacOS - Make Tech Easier
How to Set Up a Plex Server on MacOS - Make Tech Easier
I Wish I'd Known These 5 Tips Before I Started Using Plex
I Wish I'd Known These 5 Tips Before I Started Using Plex
How to Turn Your Old Laptop Into a Plex Media Server
How to Turn Your Old Laptop Into a Plex Media Server
The 8 Best Media Server Software Options for Linux
The 8 Best Media Server Software Options for Linux
the plex app on an iphone with movies and other things to watch in it
the plex app on an iphone with movies and other things to watch in it
7 Hidden Plex Settings You Should Be Using
7 Hidden Plex Settings You Should Be Using
How to Change Plex Library Location
How to Change Plex Library Location
How-to: Setting up a Plex Environment - Engadget
How-to: Setting up a Plex Environment - Engadget
How to Turn Your Old Laptop Into a Plex Media Server
How to Turn Your Old Laptop Into a Plex Media Server

echo deb https://downloads.plex.tv/repo MarxPlexTV main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list

Refresh your package list to ensure the new repository is recognized:

AD

sudo apt update

Install Plex Media Server

Now that you have prepared your system and added the Plex repository, you can install Plex Media Server using the following command:

sudo apt install plexmediaserver

During the installation, you may be prompted to accept the Plex license. Press Enter to proceed.

The installation process might take a few minutes. Once complete, you'll have successfully installed Plex Media Server on your Ubuntu system.

Access the Web Interface

To access the Plex Web interface, open your preferred web browser and navigate to http://localhost:32400/. This should display the Plex signup/login page.

If you logged in correctly, you should see the Plex dashboard. From here, you can configure your media libraries and start enjoying your content across all your connected devices.

Using this guide, you've now set up a Plex Media Server on Ubuntu and learned how to access and manage your media files. As your library grows, consider exploring Plex's advanced features, such as server management, remote access, and even setting up a Plex Sync client for improved file synchronization. Happy streaming!

AD