Installing Plex Media Server on Ubuntu

Follow the steps below to install the Plex Media Server on your Ubuntu system:

  1. Start by importing the repository’s GPG key using the following curl command:
    curl | sudo apt-key add -

    Add the Plex APT repository to your system’s software repository list by issuing:

    echo deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
  2. Once the Plex repository is enabled, update the apt package list and install the latest version of the Plex Media Server with:
    sudo apt install apt-transport-httpssudo apt updatesudo apt install plexmediaserver
  3. To verify that the Plex service is running type:
    sudo systemctl status plexmediaserver

    The output should look something like this:

    ● plexmediaserver.service - Plex Media Server for Linux
    Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
    Active: active (running) since Mon 2018-06-25 10:42:28 PDT; 35min ago
    Process: 2544 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" (code=exited, status=0/SUCCESS)
    Main PID: 2556 (sh)
        Tasks: 56 (limit: 2321)
    CGroup: /system.slice/plexmediaserver.service

The server can now be accessed at http://[server ip]:32400/web for further configuration.