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)

Comments by IntenseDebate
freechelmi 0p · 882 weeks ago
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!
Bob/Paul · 882 weeks ago
Anonymous · 882 weeks ago
Sokraates · 881 weeks ago
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. :)
arty · 881 weeks ago
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
Anthony · 871 weeks ago
Anthony Hildoer · 870 weeks ago
http://www.hildoersystems.com/index.php/home/62
Anthony Hildoer · 841 weeks ago
Enabled DVD Playback in Ubuntu in ONE Command
http://www.hildoersystems.com/index.php?option=co...
Anthony Hildoer · 841 weeks ago
Automated Flash Install:
http://www.hildoersystems.com/index.php?option=co...