Update Plex on Ubuntu via Command Line
You may need to update your Plex server via Command Line if you are using a Headless Ubuntu machine. This can be completed by following the below steps.
You will need to obtain the latest Plex update URL, this can be found here https://plex.tv/downloads
You will need to navigate to the type of Ubuntu you are running for either 32 Bit or 64 Bit. You will then need to right click the 32 Bit or 64 Bit Box and select ‘Copy Link Address’
For example when the Hyperlink for the current version as per the time of this post – https://downloads.plex.tv/plex-media-server/0.9.16.6.1993-5089475/plexmediaserver_0.9.16.6.1993-5089475_amd64.deb
You will now need to SSH to your Ubuntu box using your favourite SSH client! I use Putty so you would login and then run the following command –
This will download the file, you can then install the file by using the following command (You will need to change this to the correct version number which can be found at the end of the URL) –
sudo dpkg -I plexmediaserver_0.9.16.6.1993-5089475_amd64.deb
At this point I would recommend rebooting the Ubuntu server by running
You can then login to the Plex console and navigate to Settings, then Server and you will be able to verify that you are using the latest version.
I would now advise logging back in to the server and removing the file we used to update Plex as this is no longer required. This can be completed by running the below command –
sudo rm plexmediaserver_0.9.16.6.1993-5089475_amd64.deb