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 696 times)

bob

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

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 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: 110
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: 7671
  • August and everything after...
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 Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2024 Update (24H2) 64-bit + Ubuntu 24.04.1 LTS Noble Numbat 64-bit | Windows 11 2024 Update (24H2) 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: 110
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 and reinstalled 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: 810
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: 7671
  • August and everything after...
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 Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2024 Update (24H2) 64-bit + Ubuntu 24.04.1 LTS Noble Numbat 64-bit | Windows 11 2024 Update (24H2) 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
Pages: [1]   Go Up