This tutorial aims to aid users into setting up JRiver Media Center 21 onto computers running Debian 8.x Jessie. This tutorial does borrow ideas and parts done by InflatableMouse and his excellent Debian 7.x Wheezy tutorial found
here, so please thank him. I thought I'd take the time to create a new tutorial for the Debian Jessie release, since installing MC on Debian Jessie is easier thanks to the APT repository. Let's get started, shall we?
But before we continue, please note the following;
- If you're using a derivative of Debian, e.g. Ubuntu or Linux Mint, please read
this tutorial instead!
- Before installing, please read the
outstanding issues topic! Some of the issues noted might still are present in the latest build.
Step 1 - Setting up Debian Jessie for Media Center 21:First, we need to set your user account as an administrator, add your user to the sudoers file and add your user to the audio group. Fortunately, this can done in two simple steps. If for whatever reason you're using the root account on Debian, you may skip this step.
First, open a Terminal (by either pressing CTRL+ALT+T or by searching for the terminal in your desktop environment) then type the following command and press Enter.
You WILL be prompted for the root password!su
Next, either type the following command or copy and paste the command into the Terminal and press Enter.
Be sure to change youruser to the name of your user account you chose when installing Debian!usermod -a -G adm,sudo,audio youruser
If the command was successful, it's time to reboot the PC to make sure the changes above are applied properly. You can probably just log out of the account and log back in, but to be safe it's easier to just reboot the PC.
That's it! Proceed to step 2!
Step 2 - Add the JRiver 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) then either type the the following command or copy and paste the command to add the required key (it will prompt you for your password);
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: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 Jessie:sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter21.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;
sudo apt-get update
That's it! Proceed to step 3!
Step 3 - Installing Media Center 21:It's finally time to install Media Center 21! First, open 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);
sudo apt-get install mediacenter21
During this process it should say something along the following;
The following extra packages will be installed:
lame libcue1 libreplaygain1 musepack-tools vorbis-tools
The following NEW packages will be installed:
lame libcue1 libreplaygain1 mediacenter21 musepack-tools vorbis-tools
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
However, if you receive an error like;
dependency problems prevent configuration of mediacenter21:
mediacenter21 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;
sudo apt-get install -f
It'll show you the missing dependencies, after looking them over just press enter to install them. But thanks to the apt repository all dependencies should be satisfied upon installing Media Center 21.
Now assuming all dependencies are met, you've been successful at installing Media Center 21 in Debian Jessie! To start Media Center either go into the Activities menu and look for Media Center 20 or you can run it from the Terminal by either typing the following command or copying and pasting the command in and press Enter;
mediacenter21
Now, we're going to cover installing the license for those who have purchased in step 4!