More > JRiver Media Center 21 for Linux
[How-To] Add the APT Repository for Media Center 21
Awesome Donkey:
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: ---sudo rm /etc/apt/sources.list.d/mediacenter20.list
--- End code ---
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: ---sudo apt-get remove mediacenter20
--- End code ---
Then...
--- Code: ---sudo rm -rf '/usr/lib/jriver/Media Center 20'
--- End code ---
And finally...
--- Code: ---sudo rm -rf '~/.jriver/Media Center 20'
--- End code ---
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: ---wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
--- End code ---
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: ---sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter21jessie.list -O /etc/apt/sources.list.d/mediacenter21.list
--- End code ---
Or...
If you're using 32-bit Debian Wheezy (or any derivatives like Ubuntu, Linux Mint, etc.):
--- Code: ---sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter21.list -O /etc/apt/sources.list.d/mediacenter21.list
--- End code ---
Or...
If you're using an ARM device (like a Raspberry Pi) and distro like Raspbian:
--- Code: ---sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter21native.list -O /etc/apt/sources.list.d/mediacenter21.list
--- End code ---
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: ---sudo apt-get update
--- End code ---
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: ---sudo apt-get install mediacenter21
--- End code ---
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.
astromo:
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: ---:~$ cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
--- End code ---
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
--- End quote ---
Note that re-running:
--- Code: ---sudo apt-get update
--- End code ---
generates 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.
Awesome Donkey:
Sounds like the JRiver entry in /etc/apt/sources.list file is duplicated.
noay:
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?
bob:
--- Quote from: noay 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?
--- End quote ---
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 -
Navigation
[0] Message Index
[#] Next page
Go to full version