Installation

Add the Plex APT repository and import the repository’s GPG key:

_$: curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -
_$: echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list

Install Plex:

_$: sudo apt install plexmediaserver

And check the version installed:

_$: /usr/lib/plexmediaserver/Plex\ Media\ Server --version
v1.30.2.6563-3d4dc0cce

Configuration

Go to http://127.0.0.1:32400 and configure it using the web interface.

Service

The Plex media server is actually running as a service. You can manage it through systemctl:

_$: sudo systemctl status plexmediaserver.service
● plexmediaserver.service - Plex Media Server for Linux
   Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor
   Active: active (running)