This tutorial aims to aid users into setting up JRiver Media Center 22 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 22: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 22 and keep Media Center 22 updated with every new release. There's three available repositories; Stable, Latest and Beta. Decide for yourself which one you want to use - descriptions of each are below.
Choose and use only one repository!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);
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. If you're using ARM, look at the ARM repository found in
this topic. Also, you can pick which repository you want to use (Stable, Latest or Beta - choose only one!) so either type one the following commands or copy and paste the command in and press Enter;
Media Center 22 (Stable) Repository:This repository is using the latest stable release of Media Center 22 and is currently the default repository that should be used. It may be out-of-date compared to the Latest repository, however these builds have been thoroughly tested and are considered stable.
If you're using 64-bit Debian Jessie:sudo wget http://dist.jriver.com/stable/mediacenter/mediacenter22jessie.list -O /etc/apt/sources.list.d/mediacenter22.list
Or...
If you're using 32-bit Debian Jessie:sudo wget http://dist.jriver.com/stable/mediacenter/mediacenter22.list -O /etc/apt/sources.list.d/mediacenter22.list
Media Center 22 (Latest) Repository:This repository is using the latest up-to-date release of Media Center 22. There *may* be instability issues!
If you're using 64-bit Debian Jessie:sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter22jessie.list -O /etc/apt/sources.list.d/mediacenter22.list
Or...
If you're using 32-bit Debian Jessie:sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter22.list -O /etc/apt/sources.list.d/mediacenter22.list
Media Center 22 (Beta) Repository:This repository is for beta builds - not intended for users who prefer stability! These builds are likely buggy, may crash, etc.
If you're using 64-bit Debian Jessie:sudo wget http://dist.jriver.com/beta/mediacenter/mediacenter22jessie.list -O /etc/apt/sources.list.d/mediacenter22.list
Or...
If you're using 32-bit Debian Jessie:sudo wget http://dist.jriver.com/beta/mediacenter/mediacenter22.list -O /etc/apt/sources.list.d/mediacenter22.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 22:It's finally time to install Media Center 22! 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 mediacenter22
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 mediacenter22 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 mediacenter22:
mediacenter22 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 22.
Now assuming all dependencies are met, you've been successful at installing Media Center 22 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;
mediacenter22
Now, we're going to cover installing the license for those who have purchased in step 4!