For users running our Plex Media Server on DEB-based (Ubuntu, etc.) or RPM-based (Fedora, CentOS, etc.) Linux distributions, it’s possible to do so via our official repository. This article covers how to add the repository to Ubuntu and Fedora/CentOS. Other compatible distributions may work, but are not officially supported by Plex.
For those who wish to verify our public key, its correct md5sum is:
Note: Repository updating is currently only supported for public releases of Plex Media Server. It is not currently possible to use it for Plex Pass preview/beta releases.
DEB-based distros (Ubuntu, etc.)
To enable the Plex Media Server repository on Ubuntu only a few terminal commands are required. From a terminal window run the following two commands:
echo deb https://downloads.plex.tv/repo/deb ./public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -
After that, it’s just a matter of running the normal
sudo apt-get update and the Plex Media Server repo will be enabled on the OS.
RPM-based distros (Fedora, CentOS, etc.)
Inside the RPM package we have silently added a repository configuration file for Plex Media Server to hook up to a repository. To enable the repo edit
/etc/yum.repos.d/plex.repo and change line 4 from
enabled=1. It should look like this:
[PlexRepo] name=PlexRepo baseurl=https://downloads.plex.tv/repo/rpm/$basearch/ enabled=1 gpgkey=https://downloads.plex.tv/plex-keys/PlexSign.key gpgcheck=1
Once you’ve done that, you can then update your Plex Media Server to the current public release by running your update program or
yum update and Plex Media Server will automatically get updated too.
Note: Once your Plex Media Server updates, be sure to start the server again so things are running correctly.