- How to install Plex media player on Ubuntu – 18.04
- Installation
- Download the Installer
- Get a Plex (Player) App
- Server Installation
- Windows
- macOS
- Linux
- Ubuntu
- Fedora/CentOS
- NAS Devices
- Docker
- Opening the Plex Web App on a Device Other than the Server Itself
- On the Same Local Network
- On a Different Network
- macOS or Linux
- Windows
How to install Plex media player on Ubuntu – 18.04
To install Plex media player on Ubuntu &ndash 18.04
Plex is a free feature-rich media library platform that provides a way to store all your movies, shows, and other media in one place. You can access Plex from any device, whether you’ re at home or anywhere. There are many different media tools available in the world like Kodi, Xmbc, OSMC, and Mediatomb, but the Plex Media Server is perhaps one of the most popular solutions for managing media. Plex runs on Windows, macOS, Linux, FreeBSD and many more.
Download a package using this following command as follows.
[email protected]:~# wget https://downloads.plex.tv/plex-media-server/1.10.1.4602-f54242b6b/plexmediaserver_1.10.1.4602-f54242b6b_amd64.deb --2018-04-25 20:26:18-- https://downloads.plex.tv/plex-media-server/1.10.1.4602-f54242b6b/plexmediaserver_1.10.1.4602-f54242b6b_amd64.deb Resolving downloads.plex.tv (downloads.plex.tv). 104.18.156.41, 104.18.157.41, 2400:cb00:2048:1::6812:9d29, . Connecting to downloads.plex.tv (downloads.plex.tv)|104.18.156.41|:443. connected. HTTP request sent, awaiting response. 200 OK Length: 108445778 (103M) [application/octet-stream] Saving to: ‘ plexmediaserver_1.10.1.4602-f54242b6b_amd64.deb’ plexmediaserver_1.10.1.4602-f54 100%[======================================================> ] 103.42M 1.01MB/s in 2m 17s 2018-04-25 20:28:36 (774 KB/s) - ‘ plexmediaserver_1.10.1.4602-f54242b6b_amd64.deb’ saved [108445778/108445778]
Now need to install Gdebi package, which is used to install Debian packages with their dependency.
[email protected]:~# apt-get install gdebi -y Reading package lists. Done Building dependency tree Reading state information. Done The following packages were automatically installed and are no longer required: apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap Use ' sudo apt autoremove' to remove them. The following additional packages will be installed: . . Setting up gdebi-core (0.9.5.7+nmu2) . Setting up gnome-icon-theme (3.12.0-3) . update-alternatives: using /usr/share/icons/gnome/scalable/places/debian-swirl.svg to provide /usr/share/icons/gnome/scalable/places/start-here.svg (start-here.svg) in auto mode Processing triggers for man-db (2.8.2-1) . Processing triggers for gnome-menus (3.13.3-11ubuntu1) . Setting up libpango-perl (1.227-2build1) . Setting up gdebi (0.9.5.7+nmu2) . Setting up libgtk2-perl (2:1.24992-1build1) .
Then, install a Plex media server as follows.
[email protected]:~# gdebi plexmediaserver_1.9.4.4325-1bf240a65_amd64.deb Reading package lists. Done Building dependency tree Reading state information. Done Reading state information. Done Plex organizes all of your personal media so you can easily access and enjoy it. Do you want to install the software package? [y/N]:y Selecting previously unselected package plexmediaserver. (Reading database . 137966 files and directories currently installed.) Preparing to unpack plexmediaserver_1.9.4.4325-1bf240a65_amd64.deb . Unpacking plexmediaserver (1.9.4.4325-1bf240a65) . Setting up plexmediaserver (1.9.4.4325-1bf240a65) . Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service &rarr /lib/systemd/system/plexmediaserver.service. Processing triggers for ureadahead (0.100.0-20) . Processing triggers for systemd (237-3ubuntu6) . Processing triggers for gnome-menus (3.13.3-11ubuntu1) . Processing triggers for desktop-file-utils (0.23-1ubuntu3) . Processing triggers for mime-support (3.60ubuntu1) .
You can access the Plex media player from the activity menu as shown.
Choose the account to sign in.
Next, configure the server setup.
Add the media library and click next.
And then here we have to confirm the installation of Plex media player application.
With this, the method to install Plex media player on Ubuntu &ndash 18.04 comes to an end.
Installation
Before you begin installing Plex Media Server, it’s strongly recommended that you check that your media collection has been named and organized in a way that Plex will understand. If not, you may notice content isn’t recognized, is mis-matched, or not found at all.
You may already be naming and organizing your media files in a way suitable for Plex. Here are the important things:
- Movies are gathered together in a “Movies” type folder, TV Shows in a “TV Shows” type folder, etc.
- Movies are named as follows:
[Movie_Name (Release_Year)] e.g. Avatar (2009).mp4 - TV Show episodes are named with the season and episode:
[Show Name SxxEyy] e.g. Dexter s01e01.mp4 - TV Show episodes are stored in their own folder as follows:
/TV Shows/Show Name/Season/episodes e.g. /TV Shows/Dexter/Season 01/Dexter s01e01.mp4 - For TV shows, the folder structure is very important. Make sure you have show folders that contain season folders that contain the episodes
Related Page: Your Media
Tip!: It’s important to understand that Plex Media Server does not have its own graphical user interface. When you run the server on your computer, NAS, or other device, you won’t see a window open with a “server UI” or similar. Instead, you use the Plex Web App to manage your server.
Download the Installer
The Plex Media Server can be downloaded for free from the Plex Downloads page. There are many platforms available:
From the Downloads page, choose the platform or device you need, and download the installer.
Related Page: Plex Downloads
Related Page: NAS Devices
Get a Plex (Player) App
While you’re on the Downloads page, you may wish to download a player app as well. The server includes the browser-based Plex Web App, but you’ll probably want to download an app for other devices. There are many available:
- Desktop PCs: Plex for Windows/macOS/Linux or Plex HTPC
- Mobile Devices: Android, iOS
- Connected Devices: Amazon Fire TV, Apple TV, Android TV, Roku, Smart TVs, game consoles, and more
Server Installation
The server is available for many different platforms. Installation is always via an installation package and follows the platform’s usual installation method. For NAS devices, you should follow the manufacturer’s add-on installation procedure.
Note: You’ll need to be sure to run your Plex Media Server on a filesystem that allows symlinks/hardlinks. For the vast majority of users, this isn’t an issue. If you’re running on an unusual filesystem (such as a drive pool or similar), then you should check for support.
Windows
- Download the Windows Installer .exe file
- Run the installer
- Follow the usual installation method
- At the final screen, click the Launch button. If you don’t select this, launch the Server from the Start button
The Plex Media Server will launch and display an icon to the System Tray (bottom right of the screen) To setup the Plex Media Server, choose Open Plex… from the Plex icon in the system tray.
macOS
- Download the Plex Media Server .zip
- Unzip the file
- Drag the Plex Media Server app to the Applications folder
- Launch the Plex Media Server from the Applications folder
To setup Plex Media Server from the server computer, launch the Open Plex… from the “>” icon in your Mac’s menubar.
Linux
Below, you’ll find information on installing Plex Media Server for our supported Linux distributions. Once installation is complete, you can also choose to enable updating via repository.
Ubuntu
- Download the .deb package
- run sudo dpkg -i plexmediaserver_1.19.4.2935-79e214ead_amd64.deb (replacing the last filename with the name of the package you downloaded)
To setup Plex Media Server, on the same machine you installed the server on, open a browser window, and go to http://127.0.0.1:32400/web .
Note: The Plex Media Server runs as the user “plex” by default. The plex user must have read and execute permissions to your media directories and files! For more details on how to do this, see the Linux Permissions Guide.
Fedora/CentOS
- Download the .rpm package
- run sudo dnf install plexmediaserver-1.19.4.2935-79e214ead.x86_64.rpm (replacing the last filename with the name of the package you downloaded)
To setup the Server, on the same machine you installed the Server on, open a browser window and go to http://127.0.0.1:32400/web .
Note: The Plex Media Server runs as the user “plex” by default. The plex user must have read and execute permissions to your media directories and files! For more details on how to do this, see the Linux Permissions Guide.
NAS Devices
- Download the installation package appropriate to your device
- Follow the NAS manufacturer’s installation procedure to install the Plex Media Server
- If you have problems, visit the Plex Media Server NAS forums and search for your device for help
To setup the server, open a browser window and go to http://local.nas.ip.address:32400/web (e.g http://192.168.1.5:32400/web ).
Docker
For Docker installations please see the Github repo here
Opening the Plex Web App on a Device Other than the Server Itself
On the Same Local Network
To open Plex Web App from a different device than the server computer while still on the same network:
- Open a browser window
- Type http://server.local.ip.address:32400/web into the address bar (e.g “http://192.168.1.5:32400/web”)
- The browser will connect to the server and load Plex Web App
On a Different Network
If you’re on a different network than the server computer (or the entire “local network” is not in the private network IP ranges), you’ll first need to set up a SSH tunnel so that you can access things as if they were local.
Tip!: This is only necessary for the initial setup. Once you’ve gone through the setup, you can access as normal.
macOS or Linux
- Open a Terminal window or your command prompt
- Enter the following command (substituting the IP address of your server as appropriate):
ssh -L 8888:127.0.0.1:32400 ip.address.of.server - Open a browser window
- Type http://127.0.0.1:8888/web into the address bar
- The browser will connect to the server as if it were local and load Plex Web App
Windows
If you’re using Windows on your local system and your server is on Linux or macOS, you’ll need to use an application such as Putty or Windows 10’s built-in SSH client that can create the SSH tunnel for you. You can use instructions like these for setting up the Putty/SSH connection. If following that, you would use this information:
Once you have the SSH tunnel set up:
- Open a browser window
- Type http://127.0.0.1:8888/web into the address bar
- The browser will connect to the server as if it were local and load Plex Web App
If your server is running Windows, then you could do a standard Remote Desktop session or similar.
You’ve already provided feedback for this article, thank you for helping us improve our articles. Thank you for helping us improve our articles. Thank you for helping us improve our articles! We’ll take it from here. You’ve already provided feedback for this article, thank you. Looks like you already left that comment.
To vote if this article was helpful, please sign in with your plex account.