XBMC installation on Debian

XBMC installation:

echo "deb http://www.deb-multimedia.org/ jessie main non-free" >> /etc/apt/sources.list
echo "deb-src http://www.deb-multimedia.org/ jessie main" >> /etc/apt/sources.list
echo "deb http://debian.oppserver.net/xbmc/ jessie main non-free contrib" > /etc/apt/sources.list.d/oppxbmc.sources.list
echo "deb-src http://debian.oppserver.net/xbmc/ jessie main non-free contrib" >> /etc/apt/sources.list.d/oppxbmc.sources.list

wget http://debian.oppserver.net/gpg-debian.oppserver.net-signing-pubkey.asc -O - | apt-key add -

aptitude update

aptitude install xserver-xorg-video-intel xserver-xorg-video-vesa xorg-common x11-session-utils xinit alsa-base nfs-common xbmc xbmc-bin xbmc-data xbmc-eventclients-common xbmc-eventclients-dev xbmc-eventclients-j2me xbmc-eventclients-ps3 xbmc-eventclients-wiiremote xbmc-eventclients-xbmc-send xbmc-skin-confluence xbmc-standalone xbmc-eventclients-common

/etc/systemd/system/xbmc.service

[Unit]
Description = XBMC media center
After = syslog.target

[Service]
User = xbmc
Group = xbmc
Type = simple
ExecStart = /usr/bin/xinit /usr/bin/xbmc-standalone -- :0
Restart = on-failure

[Install]
WantedBy = multi-user.target

systemctl enable xbmc.service

dpkg-reconfigure x11-common
and choose “Anybody”

usermod -a -G adm,sudo,cdrom,floppy,audio,video,plugdev,netdev,fuse xbmc

systemctl start xbmc

Install SuperRepo
http://superrepo.org/get-started/optional-methods/

Install XBMCHub
http://www.xbmchub.com/blog/how-to-use-the-xbmchub-com-configuration-wizard-addon-for-dummies-and-see-mount-rushmore-from-xbmc/