More > JRiver Media Center 23 for Linux

Set up JRiver Media Center 23 in Fedora

(1/1)

BryanC:
README:
1. 64-bit only
2. This script will not point major upgrades (i.e. from v22 to v23) to the old library. It is recommended to first perform a library backup, install the new major version, and restore the library backup.

How to install:

1. Install dpkg and rpm-build (the script will attempt to do this automatically, but there appears to be an issue with the rpm database state in new Fedora releases):

--- Code: ---sudo dnf install dpkg rpm-build
--- End code ---

2. Download and extract install_MC_fedora.zip:

--- Code: ---unzip install_MC_fedora.zip
--- End code ---

3. Install or update MC (the script will ask for your sudo password to install packages):

--- Code: ---./install_MC_fedora.sh 23.0.95
--- End code ---
(where 23.0.95 is the current debian AMD64 version)

4. (Optional) Install your .mjr license:

--- Code: ---mediacenter23 /RestoreFromFile YOURMEDIACENTER23MJRFILE.mjr
--- End code ---


Changelog:
1. Added test for rpm-build package (and add if necessary) (20-FEB-2017)
2. Added test for rpmfusion repos (and add if necessary) (20-FEB-2017)
3. Script is now MC version agnostic and self-contained (20-FEB-2017)
4. Changed versioning system used in rpmbuild. MC point versions are now stored as the variation number. DNF may erroneously report a downgrade the first time the new package number is installed. (20-FEB-2017)
5. Check for RPMFusion repos before installing dpkg and rpm-build (27-APR-2017)
6. Fix dpkg check (31-MAY-2017)
7. Attempted fix for rpm-build check (21-JAN-2018)

JimH:
Thanks, Bryan!

Awesome Donkey:
I'm currently testing this in a fresh Fedora 26 VM (going to install it as my main 4th OS if all goes well) and the script is failing to build the RPM.


--- Code: ---Converting DEB to RPM...
Conversion Failed!
--- End code ---

I assume this is related to rpmbuild not being automatically installed for whatever reason(s) even though it *should*. Doing sudo dnf install rpm-build manually fixes that issue though, but so far it's still failing to build. Still looking into it, will post workaround if I find one.

EDIT: Huh, after a few reboots it just started working on its own after installing google-chrome-stable. No clue why though as both rpmbuild and dpkg were both installed, oh well. I also made a fork of the script which installs the latest beta versions, which works good. :D

EDIT 2: Looks like rpmbuild got renamed to rpm-build. That'll explain it.

BryanC:
If anyone wants to use the test builds, the easiest route is to download the appropriate .deb file, place it in the SOURCES directory (autogenerated after first running the script) and then proceeding as normal. The script will always look in the SOURCES directory for the specified .deb file before trying to retrieve it online.


--- Quote from: Awesome Donkey on August 14, 2017, 05:07:22 am ---I assume this is related to rpmbuild not being automatically installed for whatever reason(s) even though it *should*. Doing sudo dnf install rpm-build manually fixes that issue though, but so far it's still failing to build. Still looking into it, will post workaround if I find one.

--- End quote ---

There's been users in past MC for Fedora threads that have had this issue (rpm-build not installing automatically). I've never been able to replicate it on my machine. Maybe the RPM database is reporting the wrong installation state of rpm-build on fresh Fedora releases?

ianp:
I'm installing using this script onto a Fedora 26 server. I had to do the manual install of rpm-build.

The 23.0.95 .deb file is not available, so you understandably have to grab the 23.0.95-2 version, but I then got  an error when converting from .deb to .rpm when running ' sh ./install_MC_fedora.sh 23.0.95-2'


--- Quote ---rpmbuild --define="%_topdir $builddir" --define="%_variation $variation" --define="%_tversion ${mversion}" --define="%_version ${version}" --define="%_libdir /usr/lib" -bb mediacenter.spec #> /dev/null 2>&1
+ rpmbuild '--define=%_topdir /home/jriver' '--define=%_variation 95-2' '--define=%_tversion 23' '--define=%_version 23.0.95-2' '--define=%_libdir /usr/lib' -bb mediacenter.spec
error: line 3: Illegal char '-' (0x2d) in: Release: 95-2.fc26

--- End quote ---

As a workaround rename the 23.0.95-2 to be 23.0.95.


--- Quote ---mv SOURCES/MediaCenter-23.0.95-2-amd64.deb  SOURCES/MediaCenter-23.0.95-amd64.deb
 sh ./install_MC_fedora.sh 23.0.95

--- End quote ---

This then runs to completion - JRiver Media Center 23.0.95 installed successfully!

Navigation

[0] Message Index

Go to full version