* updated for 103 *This should help some people installing MediaCenter 19 on a clean Debian Wheezy 64-bit setup. I didn't specifically test it on 32-bit, but it probably works just the same, just remove the :i386 part from the packages and ignore messages for packages that are already installed.
A default Wheezy install doesn't have the initial user added to sudoers. To fix this, open a terminal.
Type:
$ su
Password: your root password
Next type:
$ usermod -a -G adm,sudo youruser
Replace 'youruser' with your own user name
.
While we're root let's add multiarch (we're doing an apt-get update later):
$ dpkg --add-architecture i386
Exit the Terminal and logout and back in. Reopen a Terminal.
Make sure your sources.list is in order. This may not be required to complete the next steps but its good to check it out nonetheless
. If you're sure its good and already updated everything you can skip it.
To edit, first make a backup. Type:
$ sudo cp /etc/apt/sources.list{,.bak}
Edit the file:
$ sudo nano /etc/apt/sources.list
This is just an example. Mind you my debian mirrors are in the NL. Use a proper
mirror for your region. Technically, you don't
need the Mozilla, VirtualBox or OppServer repositories. The Mozilla repo adds the latest versions for Icedove and Iceweasel, deb-multimedia and oppserver add some updated multimedia packages. I think its perfectly safe to add them:
deb http://ftp.nl.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.nl.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
# wheezy-updates, previously known as 'volatile'
deb http://ftp.nl.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.nl.debian.org/debian/ wheezy-updates main contrib non-free
# DEBIAN BACKPORTS
deb http://ftp.debian.org/debian/ wheezy-backports main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-backports main contrib non-free
# DEBIAN MULTIMEDIA
deb http://www.deb-multimedia.org/ wheezy main non-free
deb-src http://www.deb-multimedia.org/ wheezy main non-free
# Mozilla
deb http://mozilla.debian.net/ wheezy-backports iceweasel-beta
# OPP-Debian
deb http://debian.oppserver.net/debian wheezy contrib main non-free
deb-src http://debian.oppserver.net/debian wheezy contrib main non-free
Some of the repositories above need keys.
First type:
$ sudo apt-get update
Ignore the warnings.
Let's add some keys for the new repo's.
For the deb-multimedia repo:
$ sudo apt-get install deb-multimedia-keyring
For the Mozilla repo:
$ sudo apt-get install pkg-mozilla-archive-keyring
For the OppServer repo:
$ sudo aptitude install oppserver-keyring
Update & upgrade:
$sudo apt-get update && sudo apt-get upgrade
Dist-Upgrade:
sudo apt-get dist-upgrade
MediaCenter requires some dependencies. Let's install them. Type:
$ sudo apt-get install lame libcurl3:i386 libx11-6:i386 lib32stdc++6 libmpcdec6:i386 musepack-tools libc6:i386 libstdc++6:i386 libx11-6:i386 xfonts-75dpi xfonts-100dpi libcrypto++9:i386 libasound2:i386 vorbis-tools libuuid1:i386 libboost-regex1.49.0:i386 libicu48:i386
This will install a few more packages as there are dependencies. Some may already be installed, they will simply be skipped.
Accept and continue.
To install MediaCenter 19:
$ cd ~/Downloads
$ wget http://files.jriver.com/mediacenter/channels/v19/latest/MediaCenter-19.0.103.deb
$ sudo dpkg -i MediaCenter-19.0.103.deb
It should say:
Selecting previously unselected package mediacenter19.
(Reading database ... 109206 files and directories currently installed.)
Unpacking mediacenter19 (from .../MediaCenter-19.0.92.deb) ...
Setting up mediacenter19 (19.0.92) ...
Processing triggers for desktop-file-utils ...
If it says:
dpkg: dependency problems prevent configuration of mediacenter19:
mediacenter19 depends on ....
Try:
$ sudo apt-get install -f
But make sure it says something like this:
The following NEW packages will be installed:
libboost-regex1.49.0:i386 libicu48:i386
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Its important to check it says '0 to remove' and lists the missing packages.
After that try starting mediacenter19, type:
$ mediacenter19
If mediacenter gives another error, please copy/paste the output here so I can adjust the guide.
Of course, feedback welcome
.