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 27  (Read 6129 times)

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7822
  • Autumn shade...
[How-To] Add the APT Repository for Media Center 27
« on: September 15, 2020, 03:20:08 am »

NOTE 1: This only applies to Debian and other Debian-based Linux distros, including Ubuntu, Linux Mint, elementary OS and any other distros that use APT. Fedora, Arch Linux, Manjaro, OpenSUSE, etc. do NOT use APT, so do not try to use this with those Linux distros!

NOTE 2: Media Center 27 requires Debian 10 Buster and higher, so older Linux distros like Ubuntu 18.04 LTS likely will NOT work. Use the latest Ubuntu 20.04 LTS, Debian 10 Buster, Linux Mint 20, Raspberry Pi OS 10 Buster, etc.

New Media Center is in the air! As always, with the release of Media Center 27 and the creation of new latest, stable and beta repositories, some changes are required for the newly released Media Center 27. What does this mean? Well, if you're installing and using Media Center for the first time just skip to Step 1 right now! Otherwise, if you're already using an older Media Center version and you're going to install Media Center 27, you'll need to update your sources to install it so skip to the repository choice in Step 1!


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

The APT repository is required to install Media Center 27 and keep Media Center 27 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 Linux distro's search feature) 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 27 (Latest) Repository:

This repository is using the latest up-to-date release of Media Center 27. 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/mediacenter27.list -O /etc/apt/sources.list.d/mediacenter27.list

Media Center 27 (Stable) Repository:

This repository is using the latest stable release of Media Center 27. 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/mediacenter27.list -O /etc/apt/sources.list.d/mediacenter27.list

Media Center 27 (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/mediacenter27.list -O /etc/apt/sources.list.d/mediacenter27beta.list
That's it! Now we can install Media Center 27...


Step 2 - Installing Media Center 27:

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 27 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 mediacenter27
If during this process it should say something along the following;

Code: [Select]
The following extra packages will be installed:
  lame libcue1 libreplaygain1 musepack-tools vorbis-tools
The following NEW packages will be installed:
  lame libcue1 libreplaygain1 mediacenter27 musepack-tools vorbis-tools
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.

Just press Y (or Enter) when it asks this... however, if you receive an error like;

Code: [Select]
dependency problems prevent configuration of mediacenter27:
 mediacenter27 depends on ....

This means all dependencies have not been met. Don't fret, this can usually be taken care of by using the following command in the Terminal by either typing the following command or copying and pasting the command in and press Enter;

Code: [Select]
sudo apt-get install -f
It'll show you the missing dependencies, after looking them over just press enter to install them. Now assuming all dependencies are met, you've been successful at installing Media Center 27! Enjoy!


Uninstall/Remove Media Center (And All Files):

Okay, first, you'll need to open a Terminal window (by either pressing CTRL+ALT+T or by searching for the Terminal in your Linux distro's search feature) 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);

Step 1 - Uninstall Media Center from the Terminal:

To Uninstall Media Center 23:

Code: [Select]
sudo apt-get remove mediacenter23
To Uninstall Media Center 24:

Code: [Select]
sudo apt-get remove mediacenter24
To Uninstall Media Center 25:

Code: [Select]
sudo apt-get remove mediacenter25
To Uninstall Media Center 26:

Code: [Select]
sudo apt-get remove mediacenter26
To Uninstall Media Center 27:

Code: [Select]
sudo apt-get remove mediacenter27
Of course if you're using a version older than Media Center 23, just substitute the version number in the command in the Terminal.

Step 2 - Remove The Media Center APT repository .list File(s):

Hopefully you didn't close the Terminal window, because you'll need it again for this next part! We need to remove the Media Center repo .list file(s) from the /etc/apt/sources.list.d/ directory. The easiest way to do this is from the Terminal, so with the Terminal open choose the command(s) below that you need...

To Remove Media Center 23's .list Latest/Stable Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter23.list
To Remove Media Center 24's .list Latest/Stable Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter24.list
To Remove Media Center 25's .list Latest/Stable Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter25.list
To Remove Media Center 26's .list Latest/Stable Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter26.list
To Remove Media Center 27's .list Latest/Stable Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter27.list

Now, if you're using the beta repository for any installed Media Center versions, use these commands in the Terminal as well...


To Remove Media Center 23's .list Beta Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter23beta.list
To Remove Media Center 24's .list Beta Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter24beta.list
To Remove Media Center 25's .list Beta Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter25beta.list
To Remove Media Center 26's .list Beta Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter26beta.list
To Remove Media Center 27's .list Beta Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter27beta.list
Again if you're using a version older than Media Center 23, just substitute the version number in the command in the Terminal.

Step 3 - Remove Media Center's Settings Folder(s):

You can leave them if you want, especially if you need to reinstall the older Media Center version, but if you want to remove the older Media Center folders you'll need the Terminal again, and use these command(s) for the older Media Center versions that were installed...

To Remove Media Center 23's Settings Folder:

Code: [Select]
sudo rm -rf '/usr/lib/jriver/Media Center 23'
To Remove Media Center 24's Settings Folder:

Code: [Select]
sudo rm -rf '/usr/lib/jriver/Media Center 24'
To Remove Media Center 25's Settings Folder:

Code: [Select]
sudo rm -rf '/usr/lib/jriver/Media Center 25'
To Remove Media Center 26's Settings Folder:

Code: [Select]
sudo rm -rf '/usr/lib/jriver/Media Center 26'
To Remove Media Center 27's Settings Folder:

Code: [Select]
sudo rm -rf '/usr/lib/jriver/Media Center 27'
Yes, again, if you're using a version older than Media Center 23, just substitute the version number in the command in the Terminal.

And that should do it, removing all traces of previous Media Center versions. Easy peasy, right?


Q&A:

Q: Do I need to remove older Media Center versions to install Media Center 27?

A: Nope! If you desire, you can keep older versions of Media Center installed alongside the current version. But if you're going to use only the newest version of Media Center with the Media Network feature, I'd recommend going into the older Media Center's Options > Media Network and disabling Media Network, as it *could* clash with the newer Media Center version running. I'd also recommend if you run Media Center at startup of your Linux distro to go into the older Media Center's Options > Startup and making sure the startup option is set to Nothing. From there you can set the newer Media Center to start at your Linux distro's startup.


Q: Can I uninstall/remove older Media Center versions if I don't need them anymore?

A: Yes you can! Just follow the uninstall/remove portion of the tutorial above for the older Media Center version(s) you have and want to remove.


Q: How do I update Media Center 27?

A: That depends on your Linux distro. Your Linux distro's update manager or package manager should prompt when it checks for updates or you can check for updates manually (e.g. Synaptic). If using an update manager app in your Linux distro, I suggest hitting the Refresh button in it to make sure you're getting the latest and greatest updates. However, if all else fails, open a Terminal window and use this command...

Code: [Select]
sudo apt-get update && sudo apt-get dist-upgrade
And that should install any updates for your system, including Media Center!


Q: I'm running into an issue doing this, help!

A: Okay... take a deep breath and try going through the tutorial again, triple checking each step. However if you still have issues, please post a new topic in this forum section about your issue(s). :)
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: 72461
  • Where did I put my teeth?
Re: [How-To] Add the APT Repository for Media Center 27
« Reply #1 on: September 15, 2020, 07:30:19 am »

Incredibly helpful, AD!  Thanks!
Logged

rudyrednose

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 344
  • nothing more to say...
Re: [How-To] Add the APT Repository for Media Center 27
« Reply #2 on: December 04, 2020, 05:27:08 am »

Thanks to your post Awesome Donkey, installing MC27 on Linux was incredibly easy.
Also, the Q&A answered my question about updating sub-version before I had to ask on the forum.

This should be made a sticky !
Logged

tigny

  • Member
  • *
  • Posts: 4
Re: [How-To] Add the APT Repository for Media Center 27
« Reply #3 on: February 07, 2021, 06:08:21 am »

Hi, thank you Awesome Donkey,

I'm new to Linux environment.
I followed the instructions to install MC27 on Ubuntu 20.04.2 LTS Linux 5.4.0-65-generic x86_64

I saw no errors. But the  name when right click on the icon in the Multimédia list of applications Media Center 27 is grey and if I click on it, nothing happens. I restarted the computer but still grey and no action.

What may I do?

P.S. sorry for misplacing my question in this feed instead of a new one!
Logged

st1

  • Recent member
  • *
  • Posts: 30
Re: [How-To] Add the APT Repository for Media Center 27
« Reply #4 on: April 10, 2021, 03:02:40 am »

- check your linux version what you now have installed
- select and install such linux version that is in the recommend or strongly prefered  list of linux versions  for jriver mc27
- do not use non prefered linux version
- use ubuntu 20.04 LTS  for example
- select correct installation instructions of jrivermc27  given  in this site for your linux version you have installed to your pc
- follow the jriver installation steps   from beginnng to end step by step

I can not identify from your picture what linux system you run and no idea why gray. -> difficult to solve your problema
Logged

Wheaten

  • Guest
Re: [How-To] Add the APT Repository for Media Center 27
« Reply #5 on: April 10, 2021, 07:18:36 am »

He's running Xubuntu, Ubuntu with the Xfce.
When you reinstall make sure to get all updates prior to installing MC.
Code: [Select]
sudo apt-get update && sudo apt-get upgrade
Logged
Pages: [1]   Go Up