INTERACT FORUM

Please login or register.

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

Author Topic: [How-To] Add the APT Repository for Media Center 24  (Read 6469 times)

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7902
  • Long cold Winter...
[How-To] Add the APT Repository for Media Center 24
« on: April 14, 2018, 07:45:56 am »

With the release of Media Center 24 onto the latest repo, the APT Repository has been updated and changed for Media Center 24. What does this mean? If you're already using the APT Repository for Media Center 20, Media Center 21, Media Center 22 or Media Center 23 and you're going to replace it with Media Center 24, you'll need to update your sources. Otherwise if you're doing a clean install of Media Center 24 you can skip step 0!

Step 0 - Optional - Replacing Media Center 20/21/22/23 with Media Center 24:

This step is completely optional. If you want to keep older Media Center builds installed alongside Media Center 24, you can without issue! However, if you want to completely replace an older Media Center with a newer Media Center 24 (and leave no trace of the old Media Center versions around), you can follow this step and go onto step 1! NOTE: Always do a library backup of any older Media Center versions (save to the desktop or somewhere you can find it) if you're going to proceed with this step!

Still wanting to do a clean install with no older Media Center builds installed? Okay, first make a backup of your Media Center 20/21/22/23 library and save it to a place where you can find it, e.g. desktop. This is VERY important!

Now we've got to remove the old mediacenter20.list and/or mediacenter21.list and/or mediacenter22.list and/or mediacenter23.list file from the /etc/apt/sources.list.d/ directory. Open a Terminal (by either pressing CTRL+ALT+T or by searching for the Terminal in your desktop environment) and either type the following command or copy and paste the command in and press Enter (you *may* be prompted for your password);

For Media Center 20:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter20.list
For Media Center 21:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter21.list
For Media Center 22:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter22.list
For Media Center 23:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter23.list
Now assuming you made a backup of your library, lets remove Media Center 20/21/22/23 completely. With a Terminal open (by either pressing CTRL+ALT+T or by searching for the Terminal in your desktop environment) and either type the following commands one-by-one or copy and paste the commands in one-by-one and press Enter (you *may* be prompted for your password);

For Media Center 20:

Code: [Select]
sudo apt-get remove mediacenter20
For Media Center 21:

Code: [Select]
sudo apt-get remove mediacenter21
For Media Center 22:

Code: [Select]
sudo apt-get remove mediacenter22
For Media Center 23:

Code: [Select]
sudo apt-get remove mediacenter23
Then...

For Media Center 20:

Code: [Select]
sudo rm -rf '/usr/lib/jriver/Media Center 20'
For Media Center 21:

Code: [Select]
sudo rm -rf '/usr/lib/jriver/Media Center 21'
For Media Center 22:

Code: [Select]
sudo rm -rf '/usr/lib/jriver/Media Center 22'
For Media Center 23:

Code: [Select]
sudo rm -rf '/usr/lib/jriver/Media Center 23'
And finally...

For Media Center 20:

Code: [Select]
sudo rm -rf '~/.jriver/Media Center 20'
For Media Center 21:

Code: [Select]
sudo rm -rf '~/.jriver/Media Center 21'
For Media Center 22:

Code: [Select]
sudo rm -rf '~/.jriver/Media Center 22'
For Media Center 23:

Code: [Select]
sudo rm -rf '~/.jriver/Media Center 23'
This will completely remove Media Center 20/21/22/23 - now you're ready to install Media Center 24!


Step 1 - Adding the JRiver Media Center 24 APT Repository:

The APT repository is required to install Media Center 24 and keep Media Center 24 updated with every new release. There's three available repositories; Latest, Stable and Beta. Decide for yourself which one you want to use - descriptions of each are below.

NOTE: You can run the beta repo alongside either the latest or stable repos if desired (for beta testing, etc.). Don't try to use both the latest and stable repos at the same time - only choose and use one of them!

First, open a Terminal (by either pressing CTRL+ALT+T or by searching for the Terminal in your desktop environment) and either type the following command or copy and paste the command in and press Enter (you *may* be prompted for your password);

Code: [Select]
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
Next, with the Terminal still open, we need to download and add the correct mediacenter.list file to the /etc/apt/sources.list.d/ directory. Also, you can pick which repository you want to use (Latest, Stable or Beta - choose only one!) so either type one the following commands or copy and paste the command in and press Enter;


Media Center 24 (Latest) Repository:

This repository is using the latest up-to-date release of Media Center 24. There *may* be instability issues! NOTE: I'd personally recommend using the latest repo unless you're intending to run a "stable" system (e.g. HTPC or a Raspberry Pi).

Code: [Select]
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter24.list -O /etc/apt/sources.list.d/mediacenter24.list

Media Center 24 (Stable) Repository:

This repository is using the latest stable release of Media Center 24. It may be out-of-date compared to the Latest repository and is updated every few months (so you might have to wait for bug fixes), however these builds have been thoroughly tested and are considered stable.

Code: [Select]
sudo wget http://dist.jriver.com/stable/mediacenter/mediacenter24.list -O /etc/apt/sources.list.d/mediacenter24.list

Media Center 24 (Beta) Repository:

This repository is for beta builds - not intended for users who prefer stability! These builds are likely buggy, may crash, etc. But this repo can be used alongside either the stable or latest repos!

Code: [Select]
sudo wget http://dist.jriver.com/beta/mediacenter/mediacenter24.list -O /etc/apt/sources.list.d/mediacenter24beta.list
That's it! Now we can install Media Center 24...


Step 2 - Installing Media Center 24:

Finally, we need to reload the packages list, so with the Terminal still open either type the following command or copy and paste the command in and press Enter;

Code: [Select]
sudo apt-get update
You can now install Media Center 24 by opening a Terminal (by either pressing CTRL+ALT+T or by searching for the terminal in your desktop environment) or re-use the Terminal from the previous step. Next either type the following command or copy and paste the command in and press Enter (you *may* be prompted for your password);

Code: [Select]
sudo apt-get install mediacenter24
And that's it, Media Center 24 should be installed now. Hope this helps people getting the Media Center 24 APT repository added and working on Debian, Ubuntu, Linux Mint, etc.
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

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72544
  • Where did I put my teeth?
Re: [How-To] Add the APT Repository for Media Center 24
« Reply #1 on: April 14, 2018, 07:48:53 am »

Thank you.
Logged

grewterd

  • Recent member
  • *
  • Posts: 13
Re: [How-To] Add the APT Repository for Media Center 24
« Reply #2 on: April 15, 2018, 07:49:47 am »

Hello, thanks for this. Small type-o on the last step of removing the previous version, you have v22 for the last step of v23: sudo rm -rf '~/.jriver/Media Center 23'
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7902
  • Long cold Winter...
Re: [How-To] Add the APT Repository for Media Center 24
« Reply #3 on: April 15, 2018, 07:55:12 am »

Hello, thanks for this. Small type-o on the last step of removing the previous version, you have v22 for the last step of v23: sudo rm -rf '~/.jriver/Media Center 23'

Fixed, thanks!
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

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 743
  • Looking Busy
Re: [How-To] Add the APT Repository for Media Center 24
« Reply #4 on: April 16, 2018, 09:05:19 pm »

Thanks heaps for the upgrade instructions, clear and precise.

Worked well on my Debian install, a bit of playing around to restore the library - host kept crashing - but a couple of reboots sorted it.

Cheers
Logged

Marcellus

  • Recent member
  • *
  • Posts: 25
Re: [How-To] Add the APT Repository for Media Center 24
« Reply #5 on: April 25, 2018, 05:47:51 am »

Thank you for sharing. Installed 24 on Ubuntu 16.04LTS running on my iMac (without MacOS). It runs OK as long as I use "standard" mode.
Logged

Boerd

  • Recent member
  • *
  • Posts: 25
Re: [How-To] Add the APT Repository for Media Center 24
« Reply #6 on: May 06, 2018, 10:12:03 pm »

MC 24 keeps asking for the license. I install it and a few days later again I get the same message... 3 times last 2 weeks. After I install the license it says "registered master license" "registered to ...(me)" but it doesn't seem to last. OS = Ubuntu 18.04 KDE
Logged
Motu 8A, Stax SR-009, Chord Mojo, Sennheiser HD 650, Beyer DT 880 600 ohms, Focal Elex, JRiver MC 27, NHT XD 2.2 as main speakers
Dell Precision 5810 / Ubuntu 18.04 KDE
Dell 9250 2-in-1 / Windows 10
Phantek Elite custom built Threadripper 3995wx Ubuntu 21.04

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7902
  • Long cold Winter...
Re: [How-To] Add the APT Repository for Media Center 24
« Reply #7 on: May 07, 2018, 03:14:05 am »

Try using the latest 24.0.24 beta build, which has a fix in place for the license being lost.

https://yabb.jriver.com/interact/index.php/topic,115777.0.html
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
Pages: [1]   Go Up