Also when comparing with Fedora Core, etc... installing a full proprietary codecs in Ubuntu is one of the easiest things to do too.
So after installing the Ubuntu 11.04 Natty Narwhal, as usual you must've found out that, the Totem player Front-end simply can't play some multimedia files (well, most of the known codecs).
In that case, you can simply open your Terminal and enter the below command which will install a full codec pack that'll let you play a lot of proprietary codecs such as mp3, avi, mpeg1/2 (DVDs) and many more.
Here's the command.
sudo apt-get install ubuntu-restricted-extras
But this codec pack won't allow you to play original DVD movies that are encrypted by default. So again use the below commands to enable "that one" as well :P.
sudo wget http://www.medibuntu.org/sources.list.d/natty.list –output-document=/etc/apt/sources.list.d/medibuntu.list
sudo apt-get update
sudo apt-get install medibuntu-keyring
sudo apt-get update
sudo -s
apt-get install libdvdcss2
cd /usr/share/doc/libdvdread4/
./install-css.sh
That's it, enjoy!.

Great!
ReplyDelete@ Marcus,
ReplyDeleteThey maybe "proprietary", but everyone likes entertainment :).
I also had to install lame for mp3 support:
ReplyDeletesudo apt-get install libmp3lame0
sudo apt-get install lame
@Anonymous,
ReplyDeleteThank you... but lame is an encorder right? (if you only need to play them then the "restricted extras" should do it).
Great! It worked w/o extras
ReplyDeletedo the commands appy for other ubuntu versions as well?
ReplyDelete@Anonymous,
ReplyDeleteYes they should, as far as I know...
Reading package lists... Done
ReplyDeleteBuilding dependency tree
Reading state information... Done
Package libdvdcss2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
@Vince,
ReplyDeleteWhen asked, just enter the password of the user account that you created while installing Ubuntu, that should do it.