How to Install Plex Media Server on Ubuntu Using a One-Step Script
How to Install Plex Media Server on Ubuntu Using a One-Step Script...really easy
TECH
3/22/20251 min read

How to Install Plex Media Server on Ubuntu Using a One-Step Script
Setting up Plex Media Server on Ubuntu doesn’t have to be complicated. In this blog post (based on our latest video), we walk you through the easiest method to install Plex on Ubuntu using a simple script that automates the entire process. Whether you're a beginner or just want a no-fuss setup, this guide will save you time.
All you need to do is download the official Plex `.deb` installer, place it in your `~/Downloads` folder, and run the script.
---
### Download the Script
You can download the automated installer script here:
https://tinyurl.com/plexinstaller
Note: Use at your own risk. Be sure to unzip the file in your `Downloads` folder before running.
---
### What You’ll Learn in the Video
- Setting Up Ubuntu for Plex: Updating packages and ensuring required dependencies are installed.
- Installing the Plex .deb Package: How to automate the local installation using `dpkg`.
- Fixing Dependencies: Automatically resolving missing libraries or broken packages.
- Starting Plex at Boot: Enabling Plex as a system service.
- Firewall Configuration: Allowing Plex traffic through the UFW firewall on port 32400.
- Basic Troubleshooting: Common issues and how to fix them.
---
### Key Features of the Script
- Root Access Check: Verifies the script is being run with administrative privileges.
- Automatic Installation: Locates the `.deb` file in the `~/Downloads` folder and installs it using `dpkg -i`.
- Dependency Handling: Runs `apt-get -f install` to automatically fix any broken or missing packages.
- Service Setup: Enables and starts the Plex Media Server service immediately.
- Firewall Rule: Opens port 32400 in UFW to allow access to Plex from other devices.
---
### Final Thoughts
This streamlined installation method is ideal for anyone who wants to get up and running with Plex Media Server on Ubuntu in minutes. Whether you're building a dedicated media server or just want easy access to your movies and shows, this script takes care of all the tricky parts for you.
Once it's up and running, you can access Plex from any browser using `http://<your-ip>:32400/web`.
If this guide was helpful, be sure to check out the video, like and subscribe, and leave a comment if you have any questions or suggestions. Happy streaming!