X
Collapse
-
How to Install Plex on Ubuntu 24.04
Plex Media Server is a go-to solution for anyone looking for an organized way of accessing their media libraries across different devices. Plex is a cross-platform tool that revamps the streaming experience of its users and if using Ubuntu 24.04, you can quickly install Plex in a few steps.
Throughout today’s post, we will discuss two methods for installing Plex on Ubuntu 24.04. Choose the method that is ideal for your case. Once Plex installs, you will configure your account and enjoy your streaming. Let’s begin!
Method 1: Install Plex Via Snap
Plex Media Server s available on the app center. When you install it as a snap package, the installation will handle all the dependencies, and with only one command, you will have Plex installed on your Ubuntu 24.04.
Here’s how you install Plex on Ubuntu 24.04 as a snap package.
$ sudo snap install plexmediaserver
Snap will download and install the Plex package and a progress bar will display on the terminal. Once the installation completes, you are ready to setup Plex by adding a rule in your firewall to allow traffic through its default port. More on this is covered in the next method.
Method 2: Install Plex Via APT
A better way of installing and configuring Plex is to add its official repository to your Ubuntu system. This method involves more steps, but we’ve detailed them to make it easy.
Step 1: Update Ubuntu
Since we want to add a new repository to the source list, let’s start by refreshing the package index.
$ sudo apt update
Step 2: Install Prerequisite Packages
Next, there are various dependencies we require for a successful installation of Plex media that might not already be installed. For instance, we need wget to download the GPG key. Install these packages with the below command.
$ sudo apt install wget apt-transport-https
For our case, we already have them installed, but if they are not installed on your end, please confirm the prompt and complete installing them.
Step 3: Import the Plex Repository
Here, there are two things we must do, First, let’s add the Plex repository using the below command.
$ echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
Next, we need to import a GPG key to validate the added repository and ensure we install the correct Plex package. To do that, let’s use wget with the below command.
$ wget https://downloads.plex.tv/plex-keys/PlexSign.key cat PlexSign.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/PlexSigkey.gpg
Step 4: Install Plex on Ubuntu 24.04
With the Plex repository added to our source list, let’s quickly refresh the package index by running an update command.
$ sudo apt update
We can now install Plex through APT as follows.
$ sudo apt install plexmediaserver
Confirm any prompts that will appear and ensure the process is completed.
Step 5: Start Plex
Once installed, the first task is to check if Plex is running. Check its status using systemctl.
$ sudo systemctl status plexmediaserver.service
Suppose the service is not active; use the below commands to enable and start it.
$ sudo systemctl enable plexmediaserver.service
$ sudo systemctl restart plexmediaserver.service
Step 6: Configure Firewall
Plex media server uses port 32400. Thus, we need to configure our firewall to allow connections via this port. To do so, add a rule like the one below.
$ sudo ufw enable
$ sudo ufw allow 32400
Step 7: Set Up Plex Media Server
The last step involves accessing Plex on your browser and setting up your account. Start by opening your browser and accessing the site: http://your_ip:32400/web.
Once the site loads, you can sign up or log in to your account and enjoy the privileges of using the Plex media server.
Conclusion
Plex media server gives users room to enjoy streaming services across different devices. You can install Plex on Ubuntu 24.04 via snap or by adding its repository and installing it via APT. We’ve covered both methods and with this insight, you can comfortably install Plex on Ubuntu 24.04 and enjoy your streaming.
More...Tags: None
Posting comments is disabled.
Categories
Collapse
Article Tags
Collapse
There are no tags yet.
Latest Articles
Collapse
-
by Kasimba
by George Whittaker
Introduction
Qualitative data analysis (QDA) is a cornerstone of research across various fields, from social sciences to marketing. It involves uncovering patterns, themes, and meanings within non-numerical data such as interviews, focus groups, and textual narratives. In this era of digital tools, MAXQDA stands out as a premier software solution for QDA, empowering researchers to organize...-
Channel: Articles
11-21-2024, 11:31 PM -
-
by Kasimba
by german.suarez
Introduction
In today’s fast-paced digital landscape, ensuring the availability and performance of applications is paramount. Modern infrastructures require robust solutions to distribute traffic efficiently and maintain service availability even in the face of server failures. Enter HAProxy, the de facto standard for high-performance load balancing and failover.
This article...-
Channel: Articles
11-21-2024, 03:00 PM -
-
by KasimbaArch Linux hasn't had a license for any package sources (such as PKGBUILD files) in the past, which is potentially problematic. Providing a license will preempt that uncertainty.
In RFC 40 we agreed to change all package sources to be licensed under the very liberal 0BSD license. This change will not limit what you can do with package sources. Check out the RFC for more on the rationale and prior discussion.
Before we make this change, we will provide contributors with...-
Channel: Articles
11-19-2024, 09:21 AM -
-
by Kasimba
by George Whittaker
Introduction
In the world of cybersecurity and software development, binary analysis holds a unique place. It is the art of examining compiled programs to understand their functionality, identify vulnerabilities, or debug issues—without access to the original source code. For Linux, which dominates servers, embedded systems, and even personal computing, the skill of binary analysis is...-
Channel: Articles
11-18-2024, 07:10 PM -
-
by KasimbaDebian and Ubuntu are two popular Linux distributions. In this deep dive we will guide you on the key differences between them from perspective of both corporate enterprise and personal productivity or pleasure usage. After reading this blog post you should be in a better position to decide to select Ubuntu or Debian.
Stewardship, Licensing, Community and Cost
Where as Debian is 100% fully committed to free software as defined by the Debian Free Software Guidelines, Ubuntu is created...-
Channel: Articles
11-17-2024, 08:30 PM -
-
by Kasimba
by George Whittaker
Introduction
In the digital age, data loss is a critical concern, and effective backup and recovery systems are vital for any Debian system administrator or user. Debian, known for its stability and suitability in enterprise, server, and personal computing environments, offers a multitude of tools for creating robust backup and recovery solutions. This guide will explore these solutions,...-
Channel: Articles
11-13-2024, 05:30 PM -