◆Smart Home Ideas Journal

"Plex Media Server on Linux: Complete Installation Guide 2023"

By

Are you a Linux user looking to stream media across your devices? Plex Media Server, a powerful streaming service, is an excellent choice, and setting it up on Linux is a straightforward process. This guide will walk you through the steps of installing Plex Media Server on your Linux system, ensuring you're up and running in no time.

Before diving into the installation process, ensure your Linux distribution is supported by Plex. The server runs smoothly on popular distros like Ubuntu, Fedora, and CentOS.

Initial Setup and Installation

Begin by updating your package list and installing the necessary dependencies.

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 Media Server on Debian 13, 12 and 11 - LinuxCapable
How to Install Plex Media Server on Debian 13, 12 and 11 - LinuxCapable
PLEX Media Server | Complete Setup on Linux
PLEX Media Server | Complete Setup on Linux

For Ubuntu/Debian based distributions, use the following commands:

For Ubuntu/Debian

First, add the Plex repository to your sources list:

How to Install Plex on Linux
How to Install Plex on Linux
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
Manually update your Plex Media Server on Freenas - Quick & Simple
Manually update your Plex Media Server on Freenas - Quick & Simple
echo "deb [signed-by=/usr/share/keyrings/plex signing-keyring] https://downloads.plex.tv/repo/deb $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/plexmediaserver.list

Then, import and update the Plex GPG key:

sudo wget -qO- https://downloads.plex.tv/plex-keys/PlexSign.key | sudo appellate-regenerate-command
sudo apt update

For Fedora/CentOS

Start by adding the Plex repository file:

sudo wget -O /etc/yum.repos.d/plex.repo https://downloads.plex.tv/repo/rpm/plex.repo

Once added, update the repository and install Plex Media Server:

How To Install Plex Media Server on CentOS 7
How To Install Plex Media Server on CentOS 7
How To Install Plex Media Server
How To Install Plex Media Server
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
Starting a Plex Media Server - Everything you need to know
Starting a Plex Media Server - Everything you need to know
Getting Started With Plex Media Server on Raspberry Pi
Getting Started With Plex Media Server on Raspberry Pi
How to Set Up a Plex Server on MacOS - Make Tech Easier
How to Set Up a Plex Server on MacOS - Make Tech Easier
sudo yum update
sudo yum install -y plexmediaserver

Configuration and Running the Server

After installation, start and enable the Plex Media Server service:

Start and Enable the Server

For systemd-based distributions (like Ubuntu 16.04+, Fedora, etc.), use the following commands:

sudo systemctl start plexmediaserver
sudo systemctl enable plexmediaserver

For older distributions using SysV init scripts (like Ubuntu 16.04 or CentOS), start the server with:

Install Plex Media Server on Raspberry Pi 3 - 2017 Raspberry Pi Tutorial
Install Plex Media Server on Raspberry Pi 3 - 2017 Raspberry Pi Tutorial
7 Hidden Plex Settings You Should Be Using
7 Hidden Plex Settings You Should Be Using
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
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
6 Awesome Linux Media Center Distros for Your HTPC
6 Awesome Linux Media Center Distros for Your HTPC
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
20 Unofficial Plex Channels and Plugins You Should Install Right Now
20 Unofficial Plex Channels and Plugins You Should Install Right Now
Running the Plex Media Server in a Docker Container
Running the Plex Media Server in a Docker Container
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
Plex Live TV & DVR: An Imperfect But Essential Tool for Cord Cutters
Plex Live TV & DVR: An Imperfect But Essential Tool for Cord Cutters
sudo service plexmediaserver start

Accessing the Web Interface

Once started, open your web browser and navigate to to access your Plex Media Server's web interface. Log in using your Plex account credentials, and you're ready to configure your media libraries.

From here, you can sign in with your Plex account, configure your media libraries, and start streaming content to your connected devices. Plex Media Server provides a wealth of customization options and additional features, ensuring a seamless media experience.

Happy streaming! With Plex Media Server set up on your Linux system, you can now enjoy your media collection across all your devices. If you encounter any issues or have further questions, explore the official Plex support forums for additional guidance.