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

bob

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

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 MC32 this applies to Debian Bullseye (11) and Bookworm (12) and 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
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 mediacenter32
Logged

Marcellus

  • Recent member
  • *
  • Posts: 21
Re: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.
« Reply #1 on: April 01, 2024, 06:00:03 am »

Ok, get this, but what I do not get, how to switch from 31 to 32 when using the repo?
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3966
Re: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.
« Reply #2 on: April 01, 2024, 06:14:44 am »

Install 32 and remove 31
Logged

ecceccecc

  • Member
  • *
  • Posts: 3
Re: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.
« Reply #3 on: April 25, 2024, 08:07:28 pm »

I just upgraded to Ubuntu 24.04 LTS "Noble" and there's no repo for it yet. I tried to add the "Jammy" one but there was a dependency error. So for now the only way I could ever use MediaCenter is if there was a Snap or a Flatpak version of it.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7395
  • The color of Spring...
Re: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.
« Reply #4 on: April 26, 2024, 06:51:57 am »

That's not true, you can also satisfy the dependencies of libwebkit2gtk-4.0-37 and manually install MC32. Along with libwebkit2gtk-4.0-37 you also have to install libjavascriptcoregtk-4.0-18_2 and libicu72 and then you should be able to manually install MC32.

But unless you know exactly what you're doing I'd actually recommend waiting for a MC32 update to address this.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13516
Re: Adding the MediaCenter repo manually. Only for Debian and Ubuntu.
« Reply #5 on: May 10, 2024, 09:44:50 am »

I added the packages MC needs for Noble to the repo so they will be downloaded with MC. They are the signed ubuntu ones, like you'd get off of a mirror.
See the revised instructions above that include the Noble MC repo.
Logged
Pages: [1]   Go Up