Few weeks ago we showed you how to install and enable some packages that are kept back from Ubuntu by Canonical, the parent company of Ubuntu for legal reasons. That post can be viewed @ https://www.liberiangeek.net/2013/05/cant-watch-movies-or-flash-in-ubuntu-13-04-heres-the-explanation-and-solution/

We also said because of some copyrights and other technical reasons, Canonical held back some required packages that will allow Ubuntu to play DVDs or watch flash movies online. And we also didn’t forget to show you how install those packages in Ubuntu.

Well, if you tried all of that and still can’t get some commercial DVDs or some media that are copyrighted to play in Ubuntu, you may want to install and enable Medibuntu repository. This brief tutorial is going to show you how to do that and enable some codecs that will allow you play protected DVDs in Ubuntu.

You see, Medibuntu which stands for Multimedia, Entertainment & Distribution in Ubuntu is a software repository which contains packages that cannot be included in Ubuntu for the same legal reasons. If you don’t really care about why they were kept out, continue below to learn how to install it in Ubuntu.

To get started, press Ctrl – Alt –T on your keyboard to open the terminal. When it opens, copy and paste the line below onto the console and press Enter.

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

 

After doing that, run the commands below to enable these codecs and packages.

sudo apt-get install non-free-codecs libdvdcss libdvdcss2 w32codecs

 

For 64-bit systems, run the commands below

sudo apt-get install non-free-codecs libdvdcss libdvdcss2 w64codecs 

 

You’ll have to agree to some licensing terms before completing the installation. Once these packages are installed, try your DVD again. If it doesn’t play, restart your computer and give it a try one more time.

Also, don’t forget to install VLC. It’s a great media player. Here’s how to install it in Ubuntu https://www.liberiangeek.net/2012/10/install-videolan-vlc-2-04-in-ubuntu-12-10-quantal-quetzal/

Hope this helps.

Enjoy!