Install Plex Media Server via Plex APT Repository#
Set up your personal media server with Plex on Ubuntu using the official APT repository. This guide walks you through each step to ensure a smooth installation.
Update Ubuntu Before Plex Installation#
Before proceeding, ensure your system is fully up to date:
sudo apt update && sudo apt upgrade -y
Add the Plex APT Repository#
Plex provides an official setup script that automatically adds the APT repository and signing key to your system. Run the following command to configure it:
curl -LsSf https://repo.plex.tv/scripts/setupRepo.sh | sudo bash
Install Plex Media Server#
Update APT with the newly added Plex repository:
sudo apt update
Install Plex Media Server:
sudo apt install plexmediaserver
Verify Plex Media Server Service#
Check the status of the Plex service:
systemctl status plexmediaserver
Confirm that the service status is
active (running).
Manage Plex Media Server Service#
If the service isn’t running, start it manually:
sudo systemctl start plexmediaserver
Enable Plex to start on system boot:
sudo systemctl enable plexmediaserver
Restart the service at any time:
sudo systemctl restart plexmediaserver