If you’ve just downloaded Ubuntu 12.10 chances are you won’t be able to play encrypted DVDs. You can’t play encrypted DVDs because of legal reasons and codecs that allow you play them are not installed in Ubuntu by default.

This brief tutorial is going to show you how to quickly add Medibuntu software repository which contains w32codecs, libdvdcss2, and w64codecs that let you play encrypted DVDs in Linux systems, including Ubuntu.


  • Add Medibuntu Repository in Ubuntu 12.10
  • Install w32codecs, libdvdcss2, and/or w64codecs
  • Enjoy!

To get started, press Ctrl – Alt – T on your keyboard to open the terminal. When it opens, copy and paste the commands below to create Medibuntu software repository on your system.

sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list --output-document=/etc/apt/sources.list.d/medibuntu.list




Next, run the commands below to add its repository key.


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




Finally, run the commands below to update your system and install these packages.

sudo apt-get update && sudo apt-get install w32codecs libdvdcss2




For 64-but systems, run the commands below

sudo apt-get update && sudo apt-get install w64codecs libdvdcss2


Now you should be able to play encrypted DVDs in Ubuntu.


If you still have problems, check this post out as well.