$ sudo -i
$ echo deb http://packages.medibuntu.org/ hardy free non-free >> /etc/apt/sources.list
$ echo deb-src http://packages.medibuntu.org/ hardy free non-free >> /etc/apt/sources.list
$ wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | apt-key add -
$ apt-get update
$ apt-get install libdvdcss2
Normally you can just do this with the following two commands:
$ sudo apt-get install totem-xine libxine1-ffmpeg libdvdread3But since I'm using amd64 architecture and libdvdcss2 isn't offered in the Ubuntu repository I just downloaded the source from http://download.videolan.org/pub/libdvdcss/ and used:
$ sudo /usr/share/doc/libdvdread3/install-css.sh
$ tar zxvvf libdvdcss-1.2.9.tar.gz
$ cd libdvdcss-1.2.9
(This might require the installation of a few other packages.)
$ cd ..
$ sudo dkpg -i libdvdcss2_1.2.9-1_amd64.deb
I had a problem with the encoding being used and had to apply this patch.
Not to mention, the install-css.sh script is broken because it points to the wrong location for download and it looks for an older version.