Pages

Install the Full Proprietary Codecs Pack in Ubuntu 11.04 Natty Narwhal!

To be honest, Ubuntu is not for everyone. It's has a way of its own while doing "things" but from a "user-friendly" point of view, it is one of the most easiest to use nonetheless!.

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!. 

9 comments:

Marcus said...

Great!

Gayan said...

@ Marcus,

They maybe "proprietary", but everyone likes entertainment :).

Anonymous said...

I also had to install lame for mp3 support:

sudo apt-get install libmp3lame0
sudo apt-get install lame

Gayan said...

@Anonymous,

Thank you... but lame is an encorder right? (if you only need to play them then the "restricted extras" should do it).

Anonymous said...

Great! It worked w/o extras

Anonymous said...

do the commands appy for other ubuntu versions as well?

Gayan said...

@Anonymous,

Yes they should, as far as I know...

Anonymous said...

Reading package lists... Done
Building 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

Gayan said...

@Vince,

When asked, just enter the password of the user account that you created while installing Ubuntu, that should do it.

Post a Comment