How To: Install libdvdcss on Ubuntu Gutsy

Here’s how to install libdvdcss2 and a couple other useful media libraries on your Gutsy box. Note that these may be “illegal”. Paste the following in your terminal.


sudo su -c 'echo deb http://packages.medibuntu.org/ gutsy free non-free >> /etc/apt/sources.list'
sudo su -c 'echo deb-src http://packages.medibuntu.org/ gutsy free non-free >> /etc/apt/sources.list'
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install libdvdcss2 w32codecs gstreamer0.10-pitfdll
echo "done"

Comments (13)

  1. james wrote::

    Thanks for the help,

    Your first line has an error, deb is copied twice.

    You also need to add the key before you update apt

    wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

    other than that it got me where I needed, thanks

    Thursday, December 27, 2007 at 20:25 #
  2. Reuben wrote::

    Thanks, I fixed those mistakes.

    Friday, December 28, 2007 at 11:11 #
  3. Steven wrote::

    Thanks so much for this. It made things very simple.

    Steve

    Thursday, January 3, 2008 at 09:33 #
  4. Jake wrote::

    Woot now i can watch vids, thanks man.

    Tuesday, January 22, 2008 at 22:36 #
  5. scott wrote::

    Dear Sir,

    Thank you very much for your help. This Ubuntu O.S. is pretty confusing for me, but you’ve helped me greatly!

    Thanks again!

    Scott B.

    Friday, February 15, 2008 at 20:43 #
  6. pyman wrote::

    Thanks.
    Worked like a charm…

    Wednesday, February 20, 2008 at 18:12 #
  7. sean wrote::

    Worked until I chose ‘Y’ when asked if I wanted to continue the installation at which point I got – ‘Abort.’ and nothing happened. Weird. Anyway, just re-entering the install line (line above echo ‘done’) did the trick, and now I can play encrypted DVDs. Thanks.

    Saturday, March 1, 2008 at 13:51 #
  8. matt wrote::

    Thanks a lot! After it asked for my sudo password it stopped, but I just pasted it again and it worked like a charm. Only it didn’t do the last line to say “Done.” for some reason. Oh well, it works great now and I can finally play the DVDs I’m legally entitled to play!

    Sunday, March 2, 2008 at 14:36 #
  9. cbo wrote::

    Awesome thank you very much! I had no problems at all, you directions work great.

    Wednesday, March 5, 2008 at 21:54 #
  10. Antonio wrote::

    Many thanks!

    Very precise and very useful!!!

    Antonio from Munich

    Friday, March 28, 2008 at 17:00 #
  11. wrote::

    I loved your echo done

    Saturday, April 19, 2008 at 19:36 #
  12. psi wrote::

    I would greatly prefer “add this to your apt sources” over a pointless shell script I have to scrutinize before pasting. Also, this would help to counteract the some of the negative effects of the ubuntu recipe-driven culture. thanks

    Thursday, July 3, 2008 at 08:53 #
  13. Saibot Sivad wrote::

    Thank you very much, this was by far the easiest method I have yet found, very friendly script!

    Since this was posted a few versions back, make sure to replace the two instances of “Gutsy” with whatever version you are using (intrepid, jaunty, etc.)

    Thursday, May 28, 2009 at 00:09 #

Trackback/Pingback (1)

  1. I feel a bit foolish: ALSA mixer « Tobias Laboratories on Tuesday, April 20, 2010 at 19:37

    [...] proprietary plug-ins. The following code was gathered in part from an old version laying around here. Beware of layout changing the font: their are five (5) lines of code to copy+paste here. sudo su [...]