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.
For Ubuntu/Debian based distributions, use the following commands:
For Ubuntu/Debian
First, add the Plex repository to your sources list:
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:
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:
sudo service plexmediaserver start
Accessing the Web Interface
Once started, open your web browser and navigate to
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.