INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Setup JRiver Media Center 21 in Fedora 64-bit  (Read 18184 times)

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2663
Setup JRiver Media Center 21 in Fedora 64-bit
« on: August 10, 2015, 03:52:40 pm »

Here is an update to RemyJ's install script for Media Center 21 64-bit on Fedora 22-23. I've changed a few things to my own liking.

To run:

In mediacenter-21/SPECS:

Code: [Select]
./rpmbuild 21.0.83
(where 21.0.83 is the current version)

(note: the following is not required in latest mediacenter-21-experimental, script will install rpm automatically):
Code: [Select]
sudo dnf install ../RPMs/x86_64/MediaCenter-21.0.83-23.fc23.x86_64.rpm

This will upgrade your current MC21 installation in the package manager but will not point the new installation to your old library. I suggest that you make a library backup and do a library restore in the new install.

To install your .mjr license:

Code: [Select]
mediacenter21 /RestoreFromFile YOURMEDIACENTER21MJRFILE.mjr

Cheers and thanks again to RemyJ for the initial work on the script.

Update (8/27/15): Fixed the comment version
Update (8/29/15): Updated to include new MIME type handling and gnutls support introduced in MC 21.0.5 (mediacenter-21.zip)
Update (12/17/15): Simplified build script (experimental, for fc20+ only). Raised rpmbuild version requirements to >= 4.12.0 (mediacenter-21-experimental.zip)
Update (2/16/16): Streamlined installation following rpmbuild (requires sudo permissions to install) (mediacenter-21-experimental.zip)
Logged

aeshva

  • Regular Member
  • Recent member
  • *
  • Posts: 28
Re: Setup JRiver Media Center 21 in Fedora 22 (64-bit) (RPM build script)
« Reply #1 on: August 16, 2015, 10:47:19 am »

Thank you for this.
Logged

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Setup JRiver Media Center 21 in Fedora 22 (64-bit) (RPM build script)
« Reply #2 on: October 18, 2015, 01:16:11 pm »

Hey Bryan,

Thanks for updating the script.  I'm giving 21 another chance under Linux.

Logged
Fedora 40 x86_64 Xfce

iNeedHelp

  • Recent member
  • *
  • Posts: 7
Re: Setup JRiver Media Center 21 in Fedora 22 (64-bit) (RPM build script)
« Reply #3 on: November 08, 2015, 05:25:09 pm »

I am a long time JRiver user under Windows but just went away from Windows and am brand new to Fedora 23 and liking it so far. I down loaded the MediaCenter-21.0.2.deb package and am interested in learning how to install it hopefully with an automated package manager, but if not would like to see links that will get a new to Linux person as myself to be able to install and use JRiver on my now only computer running Fedora 23. I know this is not your issue, I am willing to take the time to learn I just need pointed in the right direction, keeping in mind I have only a few days experience with Fedora and just learning the basic commands.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7812
  • Autumn shade...
Re: Setup JRiver Media Center 21 in Fedora 22 (64-bit) (RPM build script)
« Reply #4 on: November 08, 2015, 06:06:21 pm »

I've not tried installing MC on Fedora, but looking at the RemyJ/BryanC's script (that's attached to the first post) you'll need to change the first command to match to the latest 20.0.16 version available. Other than that, the script should do all the work for you.

Try this, does it work?

Code: [Select]
./rpmbuild 21.0.16
Then install using the second command - make sure you modify the .rpm filename to whatever the script creates.

I might have to download Fedora and create a virtual machine to test this.

P.S. You don't need to download the .deb file - the script will automatically do this for you.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

iNeedHelp

  • Recent member
  • *
  • Posts: 7
Re: Setup JRiver Media Center 21 in Fedora 22 (64-bit) (RPM build script)
« Reply #5 on: November 09, 2015, 10:57:36 am »

Sorry for the beginner aptitude here, I am in the file
Code: [Select]
/home/mark/Downloads/mediacenter-21/SPECS
I am to replace a part of the code in the file with
Code: [Select]
./rpmbuild 21.0.2
I am not sure exactly what part of the code I am suppose to replace, is it this?  Version: %{_
Code: [Select]
tversion}

Thanks is advance for your patients.
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2663
Re: Setup JRiver Media Center 21 in Fedora 22 (64-bit) (RPM build script)
« Reply #6 on: November 10, 2015, 01:54:21 pm »

You don't need to edit any code.

Browse to the SPECS folder
Code: [Select]
cd ~/Downloads/mediacenter-21/SPECS and then enter
Code: [Select]
./rpmbuild 21.0.16 in the terminal. This will build the fedora-compatible rpm from the deb package. Then run
Code: [Select]
sudo dnf install -y ../RPMS/x86_64/MediaCenter-21.0.16-22.fc23.x86_64.rpm to install the rpm.
Logged

iNeedHelp

  • Recent member
  • *
  • Posts: 7
Re: Setup JRiver Media Center 21 in Fedora 22/23 (64-bit) (RPM build script)
« Reply #7 on: November 10, 2015, 02:50:22 pm »

Thank You BryanC that was very easy to follow and it installed perfectly.
I am having glitching issues with Video, the Music seems fine although I was use to having the mini player on Windows and this doesn't have it yet.
There are issues with web page's and I see this as a work in progress that I hope will someday come to mimic the experience I had with it on the Windows OS.
I am going to wait another 6 months and try it again to see how much it has moved along.

Is there any way you can help me remove it from my system. It has corrupted the Software Package Manager to the point it will not open. I have rebooted twice and every time I click on the Software Package Manager it opens for a half second and crashes. I don't know another way to remove software yet. If there is a bit of code I can type into the terminal to remove this MC install I just did can you please provide it to me.
Thanks in advance.

Update;
I figured it out.
Code: [Select]
su -c 'dnf remove MediaCenter.x86_64'Thanks
Logged

snake69fast

  • Member
  • *
  • Posts: 2
Re: Setup JRiver Media Center 21 in Fedora 22/23 (64-bit) (RPM build script)
« Reply #8 on: December 15, 2015, 03:30:59 am »

Any help?
"warning: Binaries arch (1) not matching the package arch (2).
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/BA/rpmbuild/BUILDROOT/MediaCenter-%{_tversion}-.fc22.x86_64
error: Installed (but unpackaged) file(s) found:
   /usr/lib/jriver/MC21
   /usr/share/appdata/media center 21.appdata.xml
   /usr/share/mime-info/media center 21.keys
   /usr/share/mime-info/media center 21.mime
   /usr/share/mime/packages/media center 21.xml


RPM build errors:
    Binaries arch (1) not matching the package arch (2).
    Installed (but unpackaged) file(s) found:
   /usr/lib/jriver/MC21
   /usr/share/appdata/media center 21.appdata.xml
   /usr/share/mime-info/media center 21.keys
   /usr/share/mime-info/media center 21.mime
   /usr/share/mime/packages/media center 21.xml"

Thank you!
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2663
Re: Setup JRiver Media Center 21 in Fedora 22/23 (64-bit) (RPM build script)
« Reply #9 on: December 17, 2015, 10:04:45 am »

snip

Can you paste the output of:

Code: [Select]
uname -r
Logged

snake69fast

  • Member
  • *
  • Posts: 2
Re: Setup JRiver Media Center 21 in Fedora x86_64
« Reply #10 on: December 17, 2015, 02:27:19 pm »

4.2.6-201.fc22.x86_64
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2663
Re: Setup JRiver Media Center 21 in Fedora x86_64
« Reply #11 on: December 17, 2015, 04:08:00 pm »

4.2.6-201.fc22.x86_64

Can you try the new experimental script I posted in the OP? It looks like your rpm arch detection logic isn't working properly. I explicitly specified the buildarch in the new script to potentially circumvent this.
Logged

aeshva

  • Regular Member
  • Recent member
  • *
  • Posts: 28
Re: Setup JRiver Media Center 21 in Fedora x86_64
« Reply #12 on: December 28, 2015, 01:04:01 pm »

I am having a problem with the latest version. I have reinstalled fedora and went to make the RPM with both builds, and this is the output:

Quote
SPECS]$ ./rpmbuild 21.0.28
--2015-12-28 12:55:17--  http://files.jriver.com/mediacenter/channels/v21/latest/MediaCenter-21.0.28-amd64.deb
Resolving files.jriver.com (files.jriver.com)... 54.231.48.144
Connecting to files.jriver.com (files.jriver.com)|54.231.48.144|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 31039272 (30M) [application/octet-stream]
Saving to: ‘/home/user/Downloads/mediacenter-21/SOURCES/MediaCenter-21.0.28-amd64.deb’

/home/user/D 100%[===================>]  29.60M  8.91MB/s    in 3.3s   

2015-12-28 12:55:21 (8.91 MB/s) - ‘/home/lossacthwyn/Downloads/mediacenter-21/SOURCES/MediaCenter-21.0.28-amd64.deb’ saved [31039272/31039272]

./rpmbuild: line 16: rpmbuild: command not found

What am I missing?

Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2663
Re: Setup JRiver Media Center 21 in Fedora x86_64
« Reply #13 on: December 29, 2015, 10:42:18 am »

I am having a problem with the latest version. I have reinstalled fedora and went to make the RPM with both builds, and this is the output:

What am I missing?



Make sure that you have the rpm-build package installed. I think it used to be included by default but perhaps that has changed.
Logged

roald.andresen

  • Recent member
  • *
  • Posts: 16
Re: Setup JRiver Media Center 21 in Fedora x86_64
« Reply #14 on: February 01, 2016, 04:13:06 pm »

Sorry if this is a noob question, but here goes...

In your post you refer to a directory "mediacenter-21/SPECS" to run the rpmbuild command in.  What is this SPECS directory? 
I am trying to get MC21 up and running on OpenSuSE LEAP, and keep running into segmentation fault.  The rpm file I install from is the result of running alien on the Debian install pacakge.  It seems to me that you have a totally different approach to building your rpm package.  So, I would like to give that a shot on OpenSuSE.  The extracted deb package does not contain a SPECS directory, so I'm a bit confused.  ?
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2663
Re: Setup JRiver Media Center 21 in Fedora x86_64
« Reply #15 on: February 02, 2016, 11:43:17 am »

Sorry if this is a noob question, but here goes...

In your post you refer to a directory "mediacenter-21/SPECS" to run the rpmbuild command in.  What is this SPECS directory? 
I am trying to get MC21 up and running on OpenSuSE LEAP, and keep running into segmentation fault.  The rpm file I install from is the result of running alien on the Debian install pacakge.  It seems to me that you have a totally different approach to building your rpm package.  So, I would like to give that a shot on OpenSuSE.  The extracted deb package does not contain a SPECS directory, so I'm a bit confused.  ?

The SPECS directory is in the zip file containing the rpmbuild script found in the OP.
Logged

ranmaru

  • Recent member
  • *
  • Posts: 7
Re: Setup JRiver Media Center 21 in Fedora x86_64
« Reply #16 on: February 10, 2016, 01:55:02 pm »

Hi.
I want to try it on opensuse (actually 13.2), this will work on it?
Alien is a good method if this not work?

Reggards.
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2663
Re: Setup JRiver Media Center 21 in Fedora x86_64
« Reply #17 on: February 10, 2016, 11:16:28 pm »

Hi.
I want to try it on opensuse (actually 13.2), this will work on it?
Alien is a good method if this not work?

Reggards.

I have no idea if this works in openSUSE, but this thread might provide some insight: http://yabb.jriver.com/interact/index.php?topic=84415.0
Logged

ranmaru

  • Recent member
  • *
  • Posts: 7
Re: Setup JRiver Media Center 21 in Fedora x86_64
« Reply #18 on: February 11, 2016, 12:06:41 pm »

Thanks for the hint.
I'll try to install the newest with that method.
Logged

criptoriga

  • Member
  • *
  • Posts: 1
Re: Setup JRiver Media Center 21 in Fedora x86_64
« Reply #19 on: February 20, 2016, 09:17:50 am »

Hello
Can somebody give a step by step explanation how to install JRiver in Fedora 23 KDE, please? I've tried to follow RemyJ's method for Fedora 17, but there are only hints for whoever knows how to start installing the program, already.
Thank you.
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2663
Re: Setup JRiver Media Center 21 in Fedora x86_64
« Reply #20 on: February 22, 2016, 10:50:29 am »

Hello
Can somebody give a step by step explanation how to install JRiver in Fedora 23 KDE, please? I've tried to follow RemyJ's method for Fedora 17, but there are only hints for whoever knows how to start installing the program, already.
Thank you.

What steps are not clear in the OP? Download the experimental rpm build script, unzip, cd to SPECS, and run:

Code: [Select]
./rpmbuild 21.0.48
It will ask you to enter your root password to install the rpm package after it is built.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7812
  • Autumn shade...
Re: Setup JRiver Media Center 21 in Fedora 64-bit
« Reply #21 on: July 15, 2016, 06:40:24 am »

I finally setup a Fedora 24 virtual machine and installed MC using this script... it works great! :D

Basically if you're a new Fedora user and you're going to use this script, I recommend doing the following before using the script:

1. Install the rpm-build package, this is absolutely required for this to work or else you'll end up getting a build error.

2. While likely not required, I do suggest enabling RPM Fusion on your Fedora install (at least the free repo, nonfree is optional!) - it does indeed make life easier. :P

I did notice the script still specifies xorg-x11-fonts-75dpi, xorg-x11-fonts-100dpi, xorg-x11-fonts-ISO8859-1-75dpi, and xorg-x11-fonts-ISO8859-1-100dpi as requirements. As far as I know, MC 21 doesn't require these anymore (since the new font system landed months ago). I'm not currently sure if any other requirements that aren't required anymore, perhaps Bob can chime in?
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: Setup JRiver Media Center 21 in Fedora 64-bit
« Reply #22 on: July 15, 2016, 11:50:13 am »

...
I did notice the script still specifies xorg-x11-fonts-75dpi, xorg-x11-fonts-100dpi, xorg-x11-fonts-ISO8859-1-75dpi, and xorg-x11-fonts-ISO8859-1-100dpi as requirements. As far as I know, MC 21 doesn't require these anymore (since the new font system landed months ago). I'm not currently sure if any other requirements that aren't required anymore, perhaps Bob can chime in?
True, it doesn't require the fixed fonts any more and those aren't in the .deb control file.
Logged
Pages: [1]   Go Up