Linux Mint

How to Install Plex on Linux Mint 21

Plex is a client-server media player software, a free platform that works as a backend component. When you download this media player, it organizes all the media files automatically in the Plex library. These files can include images, audio, videos, hence all the media that belongs to the user is organized in Plex library and can be accessible easily.

As it is a client-server media application, you can also access the media files from any third-party tool like PCs, streaming box, smartphones and smart TV. This could be done when your client network has installed the Plex client application.

Different operating systems i-e, Linux, Windows, macOS also support the Plex streaming server platform.

Install Plex on Linux Mint 21

Following are the necessary steps to install the Plex Media Server on the system.

Step 1: Update System Packages

Update all the packages of Linux Mint system using following command:

$ sudo apt update

Step 2: Add GPG key

To install a Plex server on a system, it is necessary to add the GPG key to the Linux system as it is the prerequisite of it. It would be done through the mentioned-below command:

$ curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -

The key has been added successfully as we have got the response “OK” from the system.

Step 3: Import Repository

Now, import the Plex media server required repository to the Linux Mint system by making use of command:

$ echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list

Step 4: Update System Packages List

Run the update command to refresh system repository and update all dependencies:

$ sudo apt update

Step 5: Install Plex Media Server

Now, we can download the Plex media server platform on Linux Mint 21 system after adding GPG key and repositories successfully. Installation can be done by executing the given command:

$ sudo apt install plexmediaserver -y

When you install the Plex server on the system, it automatically starts running on the system backend. To verify it, run the given systemctl command:

$ systemctl status plexmediaserver

But due to some reason if it is not active in your system, no need to worry!

Execute the three steps listed below to active the Plex server system:

(Keep in mind you can execute these commands as a super user)

Step 1: Run the mentioned command to start Plex media server on system:

$ sudo systemctl start plexmediaserver

Step 2: Enable Plex media server on system using the command:

$ sudo systemctl enable plexmediaserver

Step 3: After running above commands, your Plex software will be enabled to the system. You need to restart the Plex application before start configuration:

$ sudo systemctl restart plexmediaserver

Now, you can start working with the Plex media player.

How to Configure Plex Media Server on Linux Mint 21

To handle the Plex media server remotely, we need to install a ssh tunnel to set up outside connections. For this, use the command:

$ sudo apt install openssh-server -y

After installing, update the system repository:

$ sudo apt update

Now, run the command to enable ssh service:

$ sudo systemctl enable ssh

To check the ssh status, type:

$ sudo systemctl status ssh

Now, you can access the Plex platform using the IP server remotely. Open web browser and type your IP address with the lost host server:

192.168.64.128:32400/web

Conclusion

The Plex media platform is a client-server backend component used to access media files remotely. It organizes all the user’s media files to the Plex library safely and allows the user to access them from any device if client Plex is installed on that system. This article has briefly explained Plex media software and its uses. We have also learned the installation process as well as its configuration on the Linux Mint 21 system.

About the author

Syeda Wardah Batool

I am a Software Engineer Graduate and Self Motivated Linux writer. I also love to read latest Linux books. Moreover, in my free time, i love to read books on Personal development.