Plex Media Server on Linux Mint Cinnamon 64-bit also Plex Home Theater or Plex Media Player

So I am a complete newbie @ Linux, I’ve only used it for a few weeks. I’m trying to get primarily plex media server running on my desktop, but would also like Plex Media player or Plex Home Theater running as well.

I keep seeing various explanations on how to go about the install process and how to set it up.

I thought you just download the .deb file and install it from there. Is this not the right way to do it, or is there a better more accurate way to go about doing this.

Installing the file is the first part.
Server setup / configuration is next but before you do that, you have to have your media accessible so Plex can read the files. This is the linux admin skill you must acquire.

Here’s a thread where I walked another user through the process. It makes the media drives properly accessible and keeps the desktop manager from taking control prematurely.

I will be busy for the next few days but will stop in if you’re absolutely hung. Also, there’s a super bunch of Linux folks in here. I’m sure some of them have tips for Mint as well.

Easy mode setup for PMS is to make your default user account plex. After that you just install the PMS .deb from plex.tv/download. After that, PMS should have installed a Plex Manager I think it’s called which basically is just a link to localhost:32400/web.. Setup should be familiar from there.

Plex Media Player is a crapshoe for ease of use to install on Linux since Plex still doesn’t provide prebuilt .debs for some reason

You have to go through about 20+ steps at GitHub - plexinc/plex-media-player: Next generation Plex Desktop/Embedded Client

@Psytropic said:
You’ll want to build it from GitHub - plexinc/plex-media-player: Next generation Plex Desktop/Embedded Client.

  1. sudo apt install autoconf automake libtool libharfbuzz-dev libfreetype6-dev libfontconfig1-dev libx11-dev libxrandr-dev libvdpau-dev libva-dev mesa-common-dev libegl1-mesa-dev yasm libasound2-dev libpulse-dev libuchardet-dev zlib1g-dev libfribidi-dev git libgnutls-dev libgl1-mesa-dev cmake git
  2. mkdir pmp
  3. cd pmp
  4. git clone https://github.com/mpv-player/mpv-build.git
  5. cd mpv-build
  6. echo --enable-libmpv-shared > mpv_options (you can also add echo --disable-cplayer >> mpv_options to prevent mpv CLI from being built)
  7. ./rebuild -j4 (this steps checks out all sources and compiles them and takes a while)
  8. sudo ./install
  9. sudo ldconfig
  10. pip install -U conan
  11. conan remote add plex https://conan.plex.tv
  12. conan search -r plex *@*/public
  13. cd ~/pmp/
  14. git clone git://github.com/plexinc/plex-media-player
  15. cd plex-media-player
  16. mkdir build
  17. conan install ..
  18. cd build
  19. cmake -DCMAKE_BUILD_TYPE=Debug -DQTROOT=/opt/Qt5.6.1/5.6/gcc_64/ -DCMAKE_INSTALL_PREFIX=/usr/local/ ..
  20. make -j4
  21. sudo make install


    You should probably make a script that automates this best you can after the initial mkdir’s and git clone ..'s. Really hope they start packaging .deb’s soon.

Ok, I installed plex through the .deb file.
Under software sources in update manager and in the tab section of “additional repositories” should I place a check where it says plex?

Also should I add plex in users and groups?

Maybe the Plex Media Player, is too much work for now, I’ll focus mainly on the Plex Media Server.

Edit: It is also not allowing remote access. I remember I set this up way back when in Windows 7. However I forgot all about that and how do I set that up in linux mint 18 cin?

There is still no official PMS repository so it doesn’t matter whether you turn on a repo or not. If there was a working one, it would likely get enabled by default.

You don’t want to add a plex user or group - PMS does this automatically. I was mentioning installing Linux with the default user plex to avoid having to deal with permissions issues with regards to library storage.

Remote access is set up through the server settings in the web interface. Once PMS is installed, you should be able to search for Plex Media Manager or just hit start > type plex and it should pop up. If not go, to localhost:32400/web in a browser.

http://localhost:32400/web otherwise you’ll get a page of XML.

It successfully redirects to /web/index.html for me but edited anyway.

@Xen0sys said:
There is still no official PMS repository so it doesn’t matter whether you turn on a repo or not. If there was a working one, it would likely get enabled by default.

You don’t want to add a plex user or group - PMS does this automatically. I was mentioning installing Linux with the default user plex to avoid having to deal with permissions issues with regards to library storage.

Remote access is set up through the server settings in the web interface. Once PMS is installed, you should be able to search for Plex Media Manager or just hit start > type plex and it should pop up. If not go, to localhost:32400/web in a browser.

I see.

I know it automatically makes the group. What I meant was under User and group settings do you add it to your user. Like scrolling down the list and putting a check mark where it says plex? Does that do anything or no? I apologize I do not know what you mean by installing with “default user plex”. :-?? So what do I have to do to be able to add media? Sorry again if these are dumb question.

Oh the interface works just fine when I click on the Plex Media Manager. It takes to me the control page where I have to log in. That isn’t the problem. Once I log in and go to the setting option where I set up remote access it doesn’t allow it to happen. I remember back in windows 7. I had to do a port forward and reserve an IP so it would remain static. Those settings are still the same because I checked my router when trying to set it up. I think it might be my firewall? I use the default one that came with Linux Mint Cinnamon. I was trying to confirm if it was the firewall. So I disabled it, and the remote access got enabled just fine, and when I enabled it again it stopped working. So what do I do in this situation?

Head’s up folks.

Got the ok to share. On rpm-based systems, if you look in your /etc/yum.repos.d , you’ll find a plex.repo.

Enable it. :smiley:

It will point you at Public.

Please let me know if you have any issues.

@Essoke said:

@Psytropic said:
There is still no official PMS repository so it doesn’t matter whether you turn on a repo or not. If there was a working one, it would likely get enabled by default.

You don’t want to add a plex user or group - PMS does this automatically. I was mentioning installing Linux with the default user plex to avoid having to deal with permissions issues with regards to library storage.

Remote access is set up through the server settings in the web interface. Once PMS is installed, you should be able to search for Plex Media Manager or just hit start > type plex and it should pop up. If not go, to localhost:32400/web in a browser.

I see.

I know it automatically makes the group. What I meant was under User and group settings do you add it to your user. Like scrolling down the list and putting a check mark where it says plex? Does that do anything or no? I apologize I do not know what you mean by installing with “default user plex”. :-?? So what do I have to do to be able to add media? Sorry again if these are dumb question.

Oh the interface works just fine when I click on the Plex Media Manager. It takes to me the control page where I have to log in. That isn’t the problem. Once I log in and go to the setting option where I set up remote access it doesn’t allow it to happen. I remember back in windows 7. I had to do a port forward and reserve an IP so it would remain static. Those settings are still the same because I checked my router when trying to set it up. I think it might be my firewall? I use the default one that came with Linux Mint Cinnamon. I was trying to confirm if it was the firewall. So I disabled it, and the remote access got enabled just fine, and when I enabled it again it stopped working. So what do I do in this situation?

When you install a Linux system, you choose a username for the default user. That is what I am referring to as making plex. Then you don’t have to do any of the group/user adding stuff.

In that case, you need to allow the Plex port you forwarded through your firewall.

@ChuckPa said:
Head’s up folks.

Got the ok to share. On rpm-based systems, if you look in your /etc/yum.repos.d , you’ll find a plex.repo.

Enable it. :smiley:

It will point you at Public.

Please let me know if you have any issues.

There a .deb repo also for Debian’s?

@Xen0sys

You mean this? https://support.plex.tv/hc/en-us/articles/235974187-Enable-repository-updating-for-supported-Linux-server-distributions

It just went live a little while ago. Because Ubuntu is a two-step process, the support page needed to be in place before sharing it.

Ya awesome - glad to see this hit daylight. :smiley:

Looks like there’s a documentation GLITCH

On Ubuntu: (need you all to verify for me)

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

This fix it?

I’ve tested on 16.04, and the key is accepted properly.

@ChuckPa said:
Looks like there’s a documentation GLITCH

On Ubuntu: (need you all to verify for me)

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

This fix it?

I’ve tested on 16.04, and the key is accepted properly.

Accepted yes. No complaints from apt-get update but I’m also not getting a PMS update. On 1.2.7 and 1.3.0 is live. Whats in the repo?

Per the support page. Public repo. Plex Pass can’t be managed through a ‘batch’ software updater.
As of this date, 1.2.7 is public.

If all is good, I apologize to the OP for the temporary hijacking.

Please carry on.

Ah gotcha. Cool. All is good then. :smiley:

@Xen0sys said:

@Essoke said:

@Xen0sys said:
There is still no official PMS repository so it doesn’t matter whether you turn on a repo or not. If there was a working one, it would likely get enabled by default.

You don’t want to add a plex user or group - PMS does this automatically. I was mentioning installing Linux with the default user plex to avoid having to deal with permissions issues with regards to library storage.

Remote access is set up through the server settings in the web interface. Once PMS is installed, you should be able to search for Plex Media Manager or just hit start > type plex and it should pop up. If not go, to localhost:32400/web in a browser.

I see.

I know it automatically makes the group. What I meant was under User and group settings do you add it to your user. Like scrolling down the list and putting a check mark where it says plex? Does that do anything or no? I apologize I do not know what you mean by installing with “default user plex”. :-?? So what do I have to do to be able to add media? Sorry again if these are dumb question.

Oh the interface works just fine when I click on the Plex Media Manager. It takes to me the control page where I have to log in. That isn’t the problem. Once I log in and go to the setting option where I set up remote access it doesn’t allow it to happen. I remember back in windows 7. I had to do a port forward and reserve an IP so it would remain static. Those settings are still the same because I checked my router when trying to set it up. I think it might be my firewall? I use the default one that came with Linux Mint Cinnamon. I was trying to confirm if it was the firewall. So I disabled it, and the remote access got enabled just fine, and when I enabled it again it stopped working. So what do I do in this situation?

When you install a Linux system, you choose a username for the default user. That is what I am referring to as making plex. Then you don’t have to do any of the group/user adding stuff.

In that case, you need to allow the Plex port you forwarded through your firewall.

So then, in this case I should uninstall Plex through the .deb file I downloaded. Go into users and groups and create a new user and call it plex? Then install plex again through the .deb file?

Do I make it a standard or administrator account type? Does it matter what I put in for “Full Name” as long as the Username is “plex” ?

Alternatively, couldn’t I just right click on my hard drives, click properties, then go permissions tab, and change the permissions to “Read and Write”? Then apply the permissions to enclosed files?

By the way, will plex automatically update itself in linux or do I have to manually download the .deb file each time and install it over the old version?

@ChuckPa said:
If all is good, I apologize to the OP for the temporary hijacking.

Please carry on.

No problem, although I’m completely lost as to what you were talking about lol.

@ChuckPa said:
Plex Pass can’t be managed through a ‘batch’ software updater.

mrworf’s script does.