LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-14-2017, 08:21 PM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Rep: Reputation: 46
Difficulty with plexmediaserver SlackBuild


Just installed Slackware 14.2 x86_64 a few hours ago.

I am new to slackbuilds.

I am trying to install plexmedia server.

I found the slackbuild here.

https://slackbuilds.org/repository/1...lexmediaserver


When I try to run, I get this:

Code:
bash-4.3# ./plexmediaserver.SlackBuild
ar: /home/walter/Downloads/plexmediaserver/plexmediaserver_1.4.2.3400-ab906953b_i386.deb: No such file or directory
I have an AMD86

Code:
bash-4.3# uname -a
Linux fir 4.4.14-smp #2 SMP Fri Jun 24 14:44:24 CDT 2016 i686 AMD Athlon(tm) II X4 640 Processor AuthenticAMD GNU/Linux
Why is it looking for an i386 .deb file?

Also, when I click on the .deb file links, the files do not download, I have to right-click and chose save download.

Any help would be appreciated.
 
Old 04-14-2017, 08:55 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
You are installing 32 bit version of Slackware 14.2 as can be seen by the output of uname (i686)

for 64 bit it should be x86_64
 
Old 04-14-2017, 10:21 PM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
And the SlackBuild tarball does not contain the download. The download link is stored in the .info file. Once you extract the SlackBuild tarball, you need to cd into that directory and then download the source before running the SlackBuild. You can do this easily using the following:

Code:
source *.info
wget $DOWNLOAD
NOTE: If it is a precompiled package and not source, you may need to download the 64bit verison using wget $DOWNLOAD_x86_64 instead of $DOWNLOAD.
 
2 members found this post helpful.
Old 04-16-2017, 02:21 PM   #4
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
I have 64-bit Slackware installed now.

Are you certain the plexmediaserver.info file is up to date? From that file:

DOWNLOAD_x86_64="https://downloads.plex.tv/plex-media-server/1.4.2.3400-ab906953
b/plexmediaserver_1.4.2.3400-ab906953b_amd64.deb"

If I enter https://downloads.plex.tv/ in my URL, I get redirected to https://www.plex.tv/downloads/

If I go to that URL, I cannot download plexmediaserver_1.4.2; instead I can download plexmediaserver_1.5.5

Should I download the 1.5.5?

Now I get this:


Code:
# ./plexmediaserver.SlackBuild
ar: /home/walter/Downloads/plexmediaserver/plexmediaserver_1.4.2.3400-ab906953b_amd64.deb: No such file or directory
I downloaded this:

plexmediaserver_1.5.5.3634-995f1dead_amd64.deb

But I am not sure what to do with it.

I tried using a utility called deb2tgz. After converting the .deb, I tried using installpkg. It installed, with a warning, but I cannot run plexmeidaserver.

Code:
# ./deb2tgz plexmediaserver_1.5.5.3634-995f1dead_amd64.deb

# installpkg plexmediaserver_1.5.5.3634-995f1dead_amd64.tgz
Verifying package plexmediaserver_1.5.5.3634-995f1dead_amd64.tgz.
Installing package plexmediaserver_1.5.5.3634-995f1dead_amd64.tgz:
PACKAGE DESCRIPTION:
WARNING:  Package has not been created with 'makepkg'
Package plexmediaserver_1.5.5.3634-995f1dead_amd64.tgz installed.

Last edited by walterbyrd; 04-16-2017 at 02:51 PM.
 
Old 04-16-2017, 03:31 PM   #5
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
SlackBuilds.org scripts do not always try to keep up with the latest version of software, often for good reason. Is there a reason you must have version 1.5.5? If not, enter the link from the .info file in your browser and it will download the version that the SlackBuild is designed for.

Last edited by montagdude; 04-16-2017 at 03:32 PM.
 
Old 04-16-2017, 04:48 PM   #6
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
> Is there a reason you must have version 1.5.5?

No, but that seems to be all that is available.

When I tried to download the 1.4.2 version, I got a message that the file is not available.
 
Old 04-16-2017, 05:03 PM   #7
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
I just entered this link into my browser address bar:

https://downloads.plex.tv/plex-media...953b_amd64.deb

And it indeed downloads plexmediaserver_1.4.2.3400-ab906953b_amd64.deb. So I'm not sure why it's not working for you.
 
Old 04-16-2017, 05:48 PM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
What happens if you run the commands I provided (although, I didn't realize it had a 64bit version, so it'd amended for that)? If you don't get the download, can you paste the output here?

Code:
source *.info
wget $DOWNLOAD_x86_64
NOTE: this is from within the directory you extracted from the tarball.
 
Old 04-16-2017, 05:54 PM   #9
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
Am I supposed to download the .deb file, or does plexmediaserver.SlackBuild download the .deb file?

Where does plexmediaserver.SlackBuild look for the .deb file? In the same directory?


BTW: I was surprised to find this file on my system:

/lib/systemd/system/plexmediaserver.service

Why is this under systemd? Why is there even a /lib/systemd directory on my system.

I have no idea how it got there.
 
Old 04-16-2017, 06:02 PM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
The SlackBuilds from slackbuilds.org will not download the source for you (although, some projects do offer that). You are required to download the source yourself or use a tool like sbopkg that will do it for you more automagically. And yes, the SlackBuild will look for the "source", or in this case the .deb file, in the same directory the SlackBuild is in (make sure you're in that directory when you run it too).

As for the systemd folder, it is likely something provided automatically by the plex people. This way they can support more platforms without a ton of extra work. The file can be safely ignored. It won't be used on Slackware.
 
Old 04-16-2017, 06:13 PM   #11
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
Downloaded plexmediaserver_1.4.2.3400-ab906953b_amd64.deb for the link provided.


Code:
# ./plexmediaserver.SlackBuild
Notice this created: /tmp/plexmediaserver-1.4.2.3400_ab906953b-x86_64-1_SBo.tgz

Code:
# cd /tmp
# installpkg plexmediaserver-1.4.2.3400_ab906953b-x86_64-1_SBo.tgz
Get the message it's installed.

Code:
# cd /etc/rc.d
# chmod a+x rc.plexmediaserver
# ./rc.plexmediaserver start
Starting plexmediaserver . . .
In the URL I enter: localhost:32400

Get the message "This XML file does not appear to have any style information associated with it. The document tree is shown below." with a bunch of XML gibberish.
 
1 members found this post helpful.
Old 04-16-2017, 06:23 PM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Did you add the plex user and group that was mentioned on the README on SBo?

Code:
Plex Media Server runs as plex:plex (UID/GID 279) with its $HOME as
/var/lib/plexmediaserver:

# groupadd -g 279 plex
# useradd -u 279 -d /var/lib/plexmediaserver -s /bin/false -g plex plex
Once that is done, you should be able to set everything up using the following text. If that doesn't work, I'd suggest contacting the maintainer as I've never used plex (a kodi man myself).

Code:
After installing, grab an account from https://my.plexapp.com/ and visit
http://localhost:32400/manage to configure your server.
 
Old 04-16-2017, 06:23 PM   #13
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
Nevermind.

I need to enter localhost:32400/web

Seems to be working.

What an ordeal.

Thanks to everybody who helped, I could not have done it without you.

Last edited by walterbyrd; 04-17-2017 at 08:33 AM.
 
Old 04-19-2017, 05:44 AM   #14
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by bassmadrigal View Post
The SlackBuilds from slackbuilds.org will not download the source for you (although, some projects do offer that). You are required to download the source yourself or use a tool like sbopkg that will do it for you more automagically. And yes, the SlackBuild will look for the "source", or in this case the .deb file, in the same directory the SlackBuild is in (make sure you're in that directory when you run it too).

As for the systemd folder, it is likely something provided automatically by the plex people. This way they can support more platforms without a ton of extra work. The file can be safely ignored. It won't be used on Slackware.
man I hope this box of bugs NEVER MAKES IT'S WAY IN TO SLACKWARE
 
Old 10-22-2021, 07:45 PM   #15
Gcubebuddy
LQ Newbie
 
Registered: Oct 2021
Posts: 2

Rep: Reputation: Disabled
Question about PLEX on Slackware 15

Hello, I was researching this, and was wondering how well the performance on Slackware worked and if it kept working after the initial install? I know sometimes PLeX won’t work when it’s expecting you to update the server software for it. Does it still work stably? I was also entertaining the idea of using Slackware as a NAS and then setting up a container app of Plex and use Slackware to present NFS volumes with the videos / music files…. I was not sure if that would be more stable or not. Any advice?

Thanks
 
  


Reply

Tags
plexmediaserver



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
if else difficulty Fixit7 Linux - General 24 01-15-2016 01:41 PM
[Patch and SlackBuild] Grub-2.02~beta2 SlackBuild and Patch. ReaperX7 Slackware 3 01-28-2015 09:30 AM
difficulty enios LinuxQuestions.org Member Intro 5 08-30-2011 11:50 PM
difficulty with wireless - sometimes 105659 Linux - Wireless Networking 0 01-22-2006 08:36 PM
FC$ up2date difficulty pddm Fedora 11 10-11-2005 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration