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: 19930ce0357f723e590210e3101321a3
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.)
The PMS package will automatically do all repository setup for you on Debian 10+/Ubuntu 20.04+ installations, including obtaining the package signing key.
To enable use of the repository edit the last line of the file /etc/apt/sources.list.d/plexmediaserver.list
Find the line
#deb https://downloads.plex.tv/repo/deb/ public main
To use the repository, simply change this line to remove the comment character # and save the file
deb https://downloads.plex.tv/repo/deb/ public main
For pre Debian 10 and Ubuntu 20.04
To enable the Plex Media Server repository 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.
Note: Our build system changed starting with the Plex Media Server v1.15.0 release. Users who were updating via the repository prior to that release will need to do a one-time, manual confirmation of some changed values. See our forum topic for instructions.
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=0
to 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.
openSUSE
After doing the normal steps for RPM-based distributions, openSUSE users will need to make an additional change:
- Open the “Software Repositories” app
- Find the “PlexRepo” entry
- Set that entry to
Enabled
andAuto Refresh