Install Mplayer and Multimedia Codecs (libdvdcss2,w32codecs) in Ubuntu 7.10 (Gutsy Gibbon)
Posted by admin on December 15th, 2007
Email This Post
Install Mplayer in Ubuntu Gutsy Gibbon Feisty Fawn
You need to add the following lines to /etc/apt/sources.list file or you need to make sure you have enabled Universe and multiverse repositories in /etc/apt/sources.list file
gedit /etc/apt/sources.list
enter these two lines and save your file
deb http://archive.ubuntu.com/ubuntu gutsy universe multiverse
deb-src http://archive.ubuntu.com/ubuntu gutsy universe multiverse
Now you need to run the following command to update the source list
sudo apt-get update
Install mplayer using the following command
sudo apt-get install mplayer
if you want to open mplayer just type
gmplayer
or
You can Open from Applications—>Sound&Video—> Mplayer Movie Player

Once it opens you should see the following screen

Installing libdvdcss2 and w32 video codecs in Ubuntu Gutsy Gibbon
Support for WMV, RealMedia and other formats has been bundled into the w32codecs package. This package is not available from the Ubuntu repositories due to licensing and legal restrictions.
For Ubuntu Gutsy Gibbon Users run the following command
sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list
Now you need to copy the key using the following command
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
Update the source list using the following command
sudo apt-get update
Install Codecs using the following command
sudo apt-get install w32codecs libdvdcss2
Using above download locations you can install most of the mutimedia codecs for ubuntu.
sudo apt-get update
Mplayer Plugin for Firefox
If you want to install Mplayer with plug-in for Mozilla Firefox run the following command
sudo apt-get install mozilla-mplayer
If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!


December 17th, 2007 at 10:02 pm
You claim this also supports RealMedia files.
But that seems broken with Medibuntu/Gutsy.
I’m not sure why.
Have you tested it? Or did you just assume it still worked?
December 21st, 2007 at 4:57 pm
thanx for the info.
December 29th, 2007 at 12:23 am
Yes, you can also view RealMedia files with it :P.
Thanks to this tut I’m able again to watch anime ^^.
January 10th, 2008 at 6:04 pm
Hi Folks. Have used this info to try to install the codecs . All goes well until I get to
Install Codecs using the following command
sudo apt-get install w32codecs libdvdcss2
Then the following message comes up in my terminal:
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
I am logged in to my installation account { I haven’t set up another user account yet as I am trying to get this system up and running , so I presume I must be root user). Any clues? I am a relative newbie at using command terminal. Finally figured out why my password didnt show up in it . Now I am working on this project.
Any help would be appreciated.
P.S. WINDOZE sucks..lol
January 17th, 2008 at 4:23 pm
louisburger- make sure you don’t have package manager running when you do a dpkg or apt-get. package managers lock the file mentioned
January 25th, 2008 at 8:40 am
louisburger - please try “sudo su” + userpassword. That should grant you root permissions.
February 9th, 2008 at 7:48 pm
Somehow I got the following error with sudo apt-get install mplayer
The following packages have unmet dependencies:
mplayer: Depends: libartsc0 (>= 1.5.0-1) but it is not installable
Depends: libaudio2 but it is not installable
Depends: libmad0 (>= 0.15.1b) but it is not installable
Depends: libmpcdec3 but it is not installable
Depends: libungif4g (>= 4.1.4) but it is not installable
Depends: libxvmc1 but it is not installable
E: Broken packages
February 9th, 2008 at 11:31 pm
@sam
try to run the following command this should fix the errors
sudo apt-get -f install
February 26th, 2008 at 1:34 pm
Sorry my admin mate, I tried that command (I assume you meant to add “mplayer” on the end), and get exactly the same errors??
any thoughts?
February 27th, 2008 at 6:03 pm
He meant without mplayer at the end.
Running the command:
sudo apt-get -f installWill run through the packages and check for any breakage, hopefully prompting you to fix it on the way.
February 28th, 2008 at 5:59 am
Hi
I have the same issue as Sam. I did a
sudo apt-get -f installbut that didn’t help either. I get:Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
May 4th, 2008 at 12:10 pm
wow!!
it works perfectly fine and plays real media files flawlessly
no need for real player
May 20th, 2008 at 4:34 am
thanks man its working !
June 21st, 2008 at 9:05 pm
I get the following error when trying to install the codecs. Please help me out.
$ sudo apt-get install w32codecs libdvdcss2
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package w32codecs 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
E: Package w32codecs has no installation candidate
October 2nd, 2008 at 4:33 pm
i am using totem player
when i am playing a sound file no sound is cuming but its running..
plz help me i am a new user to ubuntu 8.04