INTERACT FORUM

Please login or register.

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

Author Topic: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.  (Read 5978 times)

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13931

Since MC is complied on Debian and the libraries are used are the same on Ubuntu which is derived from Debian, you can add the repo manually without any additional software.
For MC33 this applies to Debian Bullseye (11), Bookworm (12) and Trixie/Testing (13) also for Ubuntu Focal (20), Jammy (22) and Noble (24)

For Debian only, the user may not be added to sudoers on a basic install.
If you get an error with sudo in the commands below, you can do the following in a terminal as the login user so the sudo commands work:
Code: [Select]
su -(you will enter the root password that you used when creating the system)
Code: [Select]
usermod -a -G sudoers youruserloginname(replace youruserloginname with the user name you logged in with)
exit
(to get out of the su -)
Then logout and log back in so that the change to sudoers works.

In a terminal as the login user, install any necessary dependencies:
Code: [Select]
sudo apt update && sudo apt install -y wget apt-transport-https -y gpg -y
Get and install the MediaCenter repo gpg key into a secure keyring:
Code: [Select]
wget -O- http://dist.jriver.com/mediacenter@jriver.com.gpg.key | gpg --dearmor | sudo  tee /usr/share/keyrings/jriver-com-archive-keyring.gpg >/dev/null 2>&1
Create a repo list file
For Focal:
Code: [Select]
echo "deb [signed-by=/usr/share/keyrings/jriver-com-archive-keyring.gpg arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ focal main" | sudo tee /etc/apt/sources.list.d/jriver.list
For Jammy:
Code: [Select]
echo "deb [signed-by=/usr/share/keyrings/jriver-com-archive-keyring.gpg arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ jammy main" | sudo tee /etc/apt/sources.list.d/jriver.list
For Noble:
Code: [Select]
echo "deb [signed-by=/usr/share/keyrings/jriver-com-archive-keyring.gpg arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ noble main" | sudo tee /etc/apt/sources.list.d/jriver.list
For Oracular:
Code: [Select]
sudo curl http://dist.jriver.com/latest/mediacenter/mediacenteroracular.source -o /etc/apt/sources.list.d/mediacenteroracularlatest.source
For Bullseye:
Code: [Select]
echo "deb [signed-by=/usr/share/keyrings/jriver-com-archive-keyring.gpg arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ bullseye main" | sudo tee /etc/apt/sources.list.d/jriver.list
For Bookworm:
Code: [Select]
echo "deb [signed-by=/usr/share/keyrings/jriver-com-archive-keyring.gpg arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ bookworm main" | sudo tee /etc/apt/sources.list.d/jriver.list
For Trixie:
Code: [Select]
echo "deb [signed-by=/usr/share/keyrings/jriver-com-archive-keyring.gpg arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ trixie main" | sudo tee /etc/apt/sources.list.d/jriver.list
Note that you will be getting the same build of MediaCenter in all cases. The only difference is the repo name for your convenience.

To get the stable branch instead you can just replace "latest" in the code above with "stable"

Then to install MediaCenter simply:
Code: [Select]
sudo apt update
sudo apt install mediacenter33
Logged

HTPC Videophile

  • World Citizen
  • ***
  • Posts: 118
Re: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.
« Reply #1 on: August 30, 2024, 11:31:15 pm »

Please provide "official" support for widely used rpm based distros like fedora/red-hat/centos  too instead of just debian. One simply cannot change a distro/desktop (which one chooses according to one's professional  needs ) for an entertainment software .
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7882
  • Long cold Winter...
Re: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.
« Reply #2 on: August 31, 2024, 06:36:01 am »

JRiver only officially supports Debian (and I guess Ubuntu to an extent due to Ubuntu repos existing), but using it on any other distro is technically 'unsupported'. Third-parties maintain packages and methods of installing Media Center on non-Debian platforms like Arch (via AUR) and Fedora (installJRMC script and repo). And that's probably as good as it's going to get for them.

If you want to install it on Fedora (or CentOS) use the installJRMC script. Otherwise I wouldn't expect JRiver to offer things like RPM files for distros they don't support. I would be very surprised if that ever changed.
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

HTPC Videophile

  • World Citizen
  • ***
  • Posts: 118
Re: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.
« Reply #3 on: September 04, 2024, 10:54:49 pm »

JRiver only officially supports Debian (and I guess Ubuntu to an extent due to Ubuntu repos existing), but using it on any other distro is technically 'unsupported'. Third-parties maintain packages and methods of installing Media Center on non-Debian platforms like Arch (via AUR) and Fedora (installJRMC script and repo). And that's probably as good as it's going to get for them.

If you want to install it on Fedora (or CentOS) use the installJRMC script. Otherwise I wouldn't expect JRiver to offer things like RPM files for distros they don't support. I would be very surprised if that ever changed.
   After much reluctance, I tried installing JRiver ver 33.15 on  Fedora  40 with Jrmc . Everything went well initially but after the library  building , it gave a Segmentaion fault (core dumped) . As it's confirmed  by other members that there's no scope for official rpm support, i did not bother to report. Simply uninstalled JRiver and did a clean reinstall of  Fedora.

When i say official support, i refer to  JRiver's stake regarding security risk which comes from  unofficial resources. Of course anyone can rebuild rpm from deb but one cannot review third party (or more correctly just a helpful , volunteering member's installation scripts everytime.
Logged

syndromeofadown

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 812
Re: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.
« Reply #4 on: September 05, 2024, 12:16:35 am »

I have been using fedora for a while with MC without issue, but mostly for fairly basic things. I do not like ubuntu, and Debian has given me issues in the past with not supporting new hardware. Soon i plan on moving a server and 4 clients from Windows to fedora. A winter project. When i do this i will be using more featues, and I will have a much larger library. Perhaps I will run into the issues you had, but hopefuly not. I will do a post about it. If I have success maybe you can give fedora another shot. If i do not have success I will probably try Mint as it has worked well in the past. Windows is leaving one way or another.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7882
  • Long cold Winter...
Re: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.
« Reply #5 on: September 05, 2024, 08:42:22 am »

Diagnosing segfaults can be a pain. Usually in those cases I'd make a backup of the hidden .jriver folder (that's in your home directory), delete it and start again and hope it doesn't start happening again.
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

guycarmin

  • Member
  • *
  • Posts: 2
Re: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.
« Reply #6 on: September 25, 2024, 01:12:36 am »

I would love an official repo for Fedora as well...
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7882
  • Long cold Winter...
Re: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.
« Reply #7 on: September 25, 2024, 06:01:36 am »

I would love an official repo for Fedora as well...

There isn't one, but there is a third-party one maintained by the installJRMC author that's added and used when using the installJRMC script. That's as good as it's going to get though.
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

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7882
  • Long cold Winter...
Re: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.
« Reply #8 on: November 02, 2024, 06:02:05 pm »

Bob, I forgot to mention this when Ubuntu 24.10 came out, but as of right now trying to add the jriver.list file will cause APT to error out and fail. This is because in Ubuntu 24.10 they've changed it where instead of the jriver.list file you need to now use a jriver.source file with the following contents...

Code: [Select]
Types: deb
URIs: http://dist.jriver.com/latest/mediacenter/
Signed-By: /usr/share/keyrings/jriver-com-archive-keyring.gpg
Suites: noble
Components: main

Otherwise if you try to use the jriver.list file you'll get this exact error from APT you won't be able to continue...

Code: [Select]
Error: The repository 'http://dist.jriver.com/latest/mediacenter oracular Release' does not have a Release file.
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: 13931
Re: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.
« Reply #9 on: November 05, 2024, 09:24:03 am »

Bob, I forgot to mention this when Ubuntu 24.10 came out, but as of right now trying to add the jriver.list file will cause APT to error out and fail. This is because in Ubuntu 24.10 they've changed it where instead of the jriver.list file you need to now use a jriver.source file with the following contents...

Code: [Select]
Types: deb
URIs: http://dist.jriver.com/latest/mediacenter/
Signed-By: /usr/share/keyrings/jriver-com-archive-keyring.gpg
Suites: noble
Components: main

Otherwise if you try to use the jriver.list file you'll get this exact error from APT you won't be able to continue...

Code: [Select]
Error: The repository 'http://dist.jriver.com/latest/mediacenter oracular Release' does not have a Release file.

So this started with 24.10 (oracular)?
I'll probably update the repo and make a new entry above.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7882
  • Long cold Winter...
Re: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.
« Reply #10 on: November 05, 2024, 09:57:05 am »

Yes, it did.

Seems they fully converted to the deb822 format with 24.10. I had issues with other apps that used .list files like Chrome and Edge and I had to manually fix those by replacing them with .sources as well when I upgraded.

https://repolib.readthedocs.io/en/latest/deb822-format.html
https://manpages.ubuntu.com/manpages/xenial/en/man5/sources.list.5.html#deb822-style%20format
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: 13931
Re: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.
« Reply #11 on: November 05, 2024, 10:58:44 am »

Yes, it did.

Seems they fully converted to the deb822 format with 24.10. I had issues with other apps that used .list files like Chrome and Edge and I had to manually fix those by replacing them with .sources as well when I upgraded.

https://repolib.readthedocs.io/en/latest/deb822-format.html
https://manpages.ubuntu.com/manpages/xenial/en/man5/sources.list.5.html#deb822-style%20format
Ok, so the new one should be ready to go and I added an entry above. I don't have that version to test so maybe someone else can and let us know.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7882
  • Long cold Winter...
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: 13931
Re: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.
« Reply #13 on: November 05, 2024, 11:56:10 am »

Logged
Pages: [1]   Go Up