Last active
January 3, 2025 20:12
-
-
Save milnak/8dc1b1c5d51f6b598ed925d02e916fa8 to your computer and use it in GitHub Desktop.
Plex update script #linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
echo 'Enter Plex update URL:' | |
echo 'e.g. https://plex.tv/downloads/latest/5?channel=16&build=linux-x86_64&distro=debian...' | |
read -r url | |
wget --output-document=plex.deb --continue "${url}" | |
sudo dpkg -i plex.deb | |
sudo systemctl --no-pager status plexmediaserver | |
rm plex.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment