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 21  (Read 8945 times)

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7810
  • Autumn shade...
[How-To] Add the APT Repository for Media Center 21
« on: August 10, 2015, 06:06:13 pm »

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

Step 0 - Replacing Media Center 20 with Media Center 21:

First make a backup of your Media Center 20 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 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);

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter20.list
Now assuming you made a backup of your library, lets remove Media Center 20 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);

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

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

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


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

The APT repository is required to install Media Center 21 and keep Media Center 21 updated with every new release.

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 /etc/apt/sources.list.d/ depending if you're using 32-bit or 64-bit so either type one the following commands or copy and paste the command in and press Enter;

If you're using 64-bit Debian Jessie (or any derivatives like Ubuntu, Linux Mint, etc.):
Code: [Select]
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter21jessie.list -O /etc/apt/sources.list.d/mediacenter21.list
Or...

If you're using 32-bit Debian Wheezy (or any derivatives like Ubuntu, Linux Mint, etc.):
Code: [Select]
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter21.list -O /etc/apt/sources.list.d/mediacenter21.list
Or...

If you're using an ARM device (like a Raspberry Pi) and distro like Raspbian:
Code: [Select]
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter21native.list -O /etc/apt/sources.list.d/mediacenter21.list
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
That's it! Now we can install Media Center 21...


Step 2 - Installing Media Center 21:

You can now install Media Center 21 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 mediacenter21
And that's it, Media Center 21 should be installed now. Hope this helps people getting the Media Center 21 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

astromo

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2251
Re: [How-To] Add the APT Repository for Media Center 21
« Reply #1 on: November 06, 2015, 05:50:32 pm »

Thanks for the guide. Awesome as always.

I ran this for an Arm device (cubox-i4 pro) and this is what I get when I check my distro:
Code: [Select]
:~$ cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian

When I get to the final step of updating the package lists, I get this message:
Quote
W: Duplicate sources.list entry http://dist.jriver.com/latest/mediacenter/ wheezy/main armhf Packages (/var/lib/apt/lists/dist.jriver.com_latest_mediacenter_dists_wheezy_main_binary-armhf_Packages)
W: You may want to run apt-get update to correct these problems
Note that re-running:
Code: [Select]
sudo apt-get updategenerates the same message.

Thoughts? Comments? How to fix?

Thanks in advance.

EDIT:
As a follow up, MC appears to have installed just fine. There is one issue but I don't think that it's relevant here. I'll comment on that separately.
Logged
MC33, Win10 x64, HD-Plex H5 Gen2 Case, HD-Plex 400W Hi-Fi DC-ATX / AC-DC PSU, Gigabyte Z370 ULTRA Gaming 2.0 MoBo, Intel Core i7 8700 CPU, 4x8GB GSkill DDR4 RAM, Schiit Modi Multibit DAC, Freya Pre, Nelson Pass Aleph J DIY Clone, Ascension Timberwolf 8893BSRTL Speakers, BJC 5T00UP cables, DVB-T Tuner HDHR5-4DT

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7810
  • Autumn shade...
Re: [How-To] Add the APT Repository for Media Center 21
« Reply #2 on: November 06, 2015, 06:44:12 pm »

Sounds like the JRiver entry in /etc/apt/sources.list file is duplicated.
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

noay

  • Recent member
  • *
  • Posts: 18
Re: [How-To] Add the APT Repository for Media Center 21
« Reply #3 on: November 09, 2015, 12:46:23 pm »

When I follow the step to Add the APT Repository for Media Center 21 I receive the enclosed (as image) error. Is there any error. Comments? How to fix?
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: [How-To] Add the APT Repository for Media Center 21
« Reply #4 on: November 09, 2015, 12:54:43 pm »

When I follow the step to Add the APT Repository for Media Center 21 I receive the enclosed (as image) error. Is there any error. Comments? How to fix?
Did you do this part of the instructions for adding the JRiver repository public key?

wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
Logged

noay

  • Recent member
  • *
  • Posts: 18
Re: [How-To] Add the APT Repository for Media Center 21
« Reply #5 on: November 09, 2015, 02:20:34 pm »

yes I forgot the first part. Sorry, I am a bit of a new by, Now it updated to 21.0.16, Thank you.
Logged
Pages: [1]   Go Up