Updating Plex Media Server on Linux

Updating Plex Media Server on Linux

This will be another quick write up but if you're like me, when you see it's time to update your Plex Media Server, you go out and manually download the file, make it executable, and then run it.

Today, I found out Plex has a public repo you're able to add, making the update process a 30 second process versus a 3 minute process. I'm sure you've added a repo before but if you haven't, here is a step by step guide on how to add Plex's repo so you can update Plex with a command as simple as sudo apt update. Please note that this guide is for users on Debian based systems.

First, add the repo:

echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list

Then add the key:

curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -

That's all there is to it. You can now see that after running sudo apt update, Plex comes up in the list.

Just a little quality of life improvement to help keep you on the latest version of Plex Media Server. For some reason I had never thought to seek out a repo from Plex and have been manually updating all of this time.