We recently migrated to a new repository for distributing Plex Media Server releases that impacts how certain Linux distributions receive updates. If you’re on one of the supported distributions listed below and would like to continue receiving automated updates via your package manager, you’ll need to follow the steps outlined below to ensure everything continues to work properly.
- Supported distributions: DEB-based (Ubuntu, Debian etc.) or RPM-based (Fedora, CentOS, etc.). 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.
- 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.
- You’ll only need to complete these steps once. After that you should receive automated updates via your OS package manager
For those who wish to verify our public key, here are the fingerprints:
- Public key:
6EFFEB478A6559D75C7C4FE706C521790B9CFFDE - Signing subkey:
B406F0897A39A570804260540A05F1E6E7AFD573
You can verify them by running the following commands:
curl -sSO https://downloads.plex.tv/plex-keys/PlexSign.v2.key gpg --show-keys --with-subkey-fingerprints PlexSign.v2.key
Note: We chose Ed25519 for the new key because it offers equivalent or stronger practical security than RSA-4096 with significantly better performance and a simpler, safer design. Based on the EdDSA scheme over Curve25519, a 256-bit Ed25519 key provides security comparable to a 3072–4096-bit RSA key while producing much smaller keys and signatures, making signing and verification far more efficient. It is also more robust in practice: unlike RSA, which depends on complex padding and large integer arithmetic, Ed25519 is deterministic, easier to implement correctly in constant time, and resistant to common pitfalls such as weak randomness, reducing the risk of vulnerabilities. As a result, it has become the modern default in systems like OpenSSH and WireGuard, making it a strong and future-proof choice for code-signing.
Install Automatically
The easiest way to complete this process is to execute the following command. It will automatically set up our repository and install the latest version of PMS:
curl -LsSf https://repo.plex.tv/scripts/setupRepo.sh | sudo bash
Install Manually
DEB-based distros (Ubuntu, etc.)
If you prefer to make these changes yourself, follow the instructions listed in this section for the specific Linux distribution you’re using.
Remove Old
Our repositories changed starting with the Plex Media Server v1.43.0 release. Users who were updating via the repository prior to that release are strongly recommended to remove the old repository (before setting up the new repository) via the following commands:
rm -fv /etc/apt/sources.list.d/plex* apt update apt upgrade
Setup New
To setup the Plex Debian repository, first we need to create a `list` file at /etc/apt/sources.list.d/plex.list and setup the signing key with the following commands:
# Make sure that curl and gnupg2 are installed sudo apt update sudo apt install -y curl gnupg2 curl -L https://downloads.plex.tv/plex-keys/PlexSign.v2.key | sudo gpg --yes --dearmor -o /etc/apt/keyrings/plexmediaserver.v2.gpg echo "deb [signed-by=/etc/apt/keyrings/plexmediaserver.v2.gpg] https://repo.plex.tv/deb/ public main" | sudo tee /etc/apt/sources.list.d/plex.list
Now all that is remained to do is to install the Plex Media Server:
sudo apt update sudo apt install -y plexmediaserver
RPM-based distros (Fedora, CentOS, etc.)
Remove Old
Our repositories changed starting with the Plex Media Server v1.43.0 release. Users who were updating via the repository prior to that release are strongly recommended to remove the old repository (before setting up the new repository) via the following commands
rm -f /etc/yum.repos.d/plex* yum update yum upgrade
Setup New
Note: You will need rpm >= 4.16 to use the rpm repository.
Use the following commands to create a `repo` file:
echo '[PlexTv] name=Plex.tv baseurl=https://repo.plex.tv/rpm/ enabled=1 gpgcheck=1 repo_gpgcheck=1 gpgkey=https://downloads.plex.tv/plex-keys/PlexSign.v2.key' | sudo tee /etc/yum.repos.d/plex.repo sudo dnf clean all sudo dnf makecache -y
and finally install the Plex Media Server via:
sudo dnf install -y plexmediaserver
Once you’ve done that, you can then update your Plex Media Server to the current public release by running your update program or `dnf 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
Remove Old
Our repositories changed starting with the Plex Media Server v1.43.0 release. Users who were updating via the repository prior to that release are strongly recommended to remove the old repository (before setting up the new repository) via the following commands:
rm -f /etc/zypp/repos.d/plex* sudo zypper clean --all sudo zypper refresh
Setup New
Note: You would need rpm >= 4.16 to use the rpm repository.
Use the following commands to create a `repo` file:
echo '[PlexTv] name=Plex.tv baseurl=https://repo.plex.tv/rpm/ enabled=1 gpgcheck=1 repo_gpgcheck=1 gpgkey=https://downloads.plex.tv/plex-keys/PlexSign.v2.key' | sudo tee /etc/zypp/repos.d/plex.repo sudo zypper clean --all sudo zypper refresh
Then install the Plex Media Server via:
sudo zypper install -y plexmediaserver
Open the “Software Repositories” app
Find the “PlexRepo” entry
Set that entry to Enabled and Auto Refresh