Howto: Enable DVD Playback, Adobe Flash Plugin and MP3 Playback in Ubuntu Hardy Heron with 1 simple copy/paste!

Ubuntu is crippled on the multimedia front. This is because of copyright and patent restrictions that complicate distribution of proprietary codecs with Ubuntu, which prides itself as a totally free operating system.

Even though Ubuntu developers haven’t included proprietary codecs, they have made it extremely easy for you to install them later through the Medibuntu repository. You can get encrypted DVD playback, Adobe Flash plugin and non-native media files (Windows media, Apple QuickTime, Real, MP3) support by using this single command.

Open the terminal (Applications -> Accessories -> Terminal) and enter the following command:
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list && sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update && sudo apt-get install libdvdcss2 w32codecs

The above command downloads all the required codecs from the Medibuntu repositories and makes your Ubuntu box multimedia ready.

Note: The above command is for 32 bit processors. AMD 64bit users, replace the ending word w32codecs with w64codecs. PPC users replace w32codecs with ppc-codecs.

Bonus Tip

Once you have run the above command, you can easily install third party applications like Skype, Google Earth and Acrobat Reader.

Skype:
sudo apt-get install skype

Google Earth:
sudo apt-get install googleearth-4.2

Adobe Acrobat Reader:
sudo apt-get install acroread

Comments (9)

Loading... Logging you in...
  • Logged in as
you didn't get it .

w32codecs are binaries codecs almost useless . You don't Need MediButun to do all the multimedia Stuuf , Just the Universe & ubuntu-restricted-extras and you keep with software opensource ! No Bins!
Weird. I just click Add/Remove Programs and search "codec". We haven't needed a terminal for basic stuff like this in at least 2, maybe even 3, releases.
Actually you never needed a terminal for this. You could always install the associated packages using synaptic. Using a terminal is simply faster.
Wow. this is the first time I've seen all these commands lined up. It looks impressive.

Besides this, the Medibuntu repositories are only required to easily install support for encrypted DVDs (unless you like to start a hidden shellscript to download libdvdcss2).

On the other hand, I like them for their enhancements to Amarok etc.

But for all other multimedia needs, instaling (k)ubuntu-restricted does the trick. And if a user doesn't know what package to install, she/he only needs to try to play an mp3/wmv file. Then Amarok/Kaffeine (and also the equivalent Ubuntu apps) will offer the user to install the required codecs. Now that's simple. :)
after i do this it gives me "You have 1 broken package on your system!" any idea what to do. plus it gives this weirdness:

E: /var/cache/apt/archives/skype-common_2.0.0.68+repack-0medibuntu3_all.deb: trying to overwrite `/usr/share/skype/avatars/Empire Skype.png', which is also in package skype
Enable DVD playback with one command: Here is a single script that works for all recent versions of Ubuntu–hardy, gutsy, and edgy.

http://www.hildoersystems.com/index.php/home/62
Updated Link:

Enabled DVD Playback in Ubuntu in ONE Command
http://www.hildoersystems.com/index.php?option=co...
I automated the process of installing flash 32bit and 64bit in Ubuntu Desktop. It even works with pulseaudio.

Automated Flash Install:
http://www.hildoersystems.com/index.php?option=co...

Post a new comment

Comments by

Clicky Web Analytics