Install libdvdcss2 in Ubuntu 11.04 (Natty)


Recently I installed Ubuntu 11.04 and tried to watch a DVD and (re)discovered that I needed to install libdvdcss2. Basically, to watch (or copy some) DVD’s you will be needing libdvdcss2 and it’s available from the Medibuntu reposisories.

The commands below will setup the Medibuntu repositories on your system (should work for Lucid, Maverick, Natty & Oneiric):

sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list --output-document=/etc/apt/sources.list.d/medibuntu.list
sudo apt-get -q update
sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring
sudo apt-get -q update

Now you can install the libdvdcss2 package:

sudo apt-get install libdvdcss2

DeCSS Trivia?

Installing this lib reminded me of the first “illegal prime number” which results in a gzip file of the original DeCSS source code. Isn’t that nuts? More info here… including the number.

And here’s a link to a perl script by Jamie McCarthy that will extract the source code from this web page.