install plex media server ubuntu code example Example: apt-get install plex curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -