Ok, it took me more than it should to find the right way for getting mplayer to work on Ubuntu Dapper Linux, so I thought I should post it here so others can find it quicker than I managed to.
You must do the following actions as root (super user) so you will need to supply your user password.
Here's the two lines you must add to the file /etc/apt/sources.list:
deb http://archive.ubuntu.com/ubuntu dapper multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper multiverse
(for other Ubuntu versions, replace "dapper" with "gutsy" on the lines above for example)
And after saving the file, run these two commands on a console:
sudo apt-get update
sudo apt-get install mplayer
23 comments:
nice. You're towards the top of the google results with this now.. useful info
At last! I'm new user in ubuntu and i've spent lot of time looking for this two lines to get mplayer.
Mplayer plays everything! Fantastic.
Thak u very much.
I am using kubuntu can any one help me on that.
after apt-get install mplayer
I got
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mplayer: Depends: libaa1 (>= 1.2) but it is not installable
Depends: libartsc0 (>= 1.5.2-0) but 1.4.0-0pre1ubuntu3 is to be insta lled
Depends: libasound2 (> 1.0.10) but 1.0.8-1 is to be installed
Depends: libc6 (>= 2.3.4-1) but 2.3.2.ds1-20ubuntu13 is to be install ed
Depends: libcairo2 (>= 1.0.2-2) but it is not installable
Depends: libfaac0 (>= 1.24clean) but it is not going to be installed
Depends: libfontconfig1 (>= 2.3.0) but 2.2.3-4ubuntu7 is to be instal led
Depends: libfreetype6 (>= 2.1.10-1) but 2.1.7-2.3 is to be installed
Depends: libfribidi0 (>= 0.10.7-1) but 0.10.4-6 is to be installed
Depends: libgcc1 (>= 1:4.0.2) but 1:4.0-0pre6ubuntu7 is to be install ed
Depends: libglib2.0-0 (>= 2.10.0) but 2.6.3-1 is to be installed
Depends: libgtk2.0-0 (>= 2.8.0) but 2.6.4-0ubuntu3 is to be installed
Depends: libmp4v2-0 (>= 2.0.0+cvs20040908+mp4v2+bmp) but it is not go ing to be installed
Depends: libmpcdec3 but it is not installable
Depends: libncurses5 (>= 5.4-5) but 5.4-4 is to be installed
Depends: libogg0 (>= 1.1.3) but 1.1.2-0ubuntu1 is to be installed
Depends: libpango1.0-0 (>= 1.12.2) but 1.8.1-0ubuntu2 is to be instal led
Depends: libslang2 (>= 2.0.1-1) but it is not installable
Depends: libstdc++6 (>= 4.0.2-4) but it is not going to be installed
Depends: libvorbis0a (>= 1.1.2) but 1.0.1-1 is to be installed
Depends: libxvidcore4 (>= 1:1.0.0-0.0) but it is not going to be inst alled
E: Broken packages
I am a beginner of Ubuntu, I spent two much time on installation, could you help me?
thank u very much
I've found problems with the dapper mplayer which i didn't have in warty or mandriva. I'll probably end up building my own.
thanks a lot....
now running dolby 7.1 with mplayer on dapper... :D
Thanks for this useful info. This is the way that worked compared to many alternatives I found on the net.
does the mplayer installed by this method plays all the kinds of files.....like .wmv,.asf,.rm,.rmvb etc .....previously i was on suse and i had installed mplayer manually and it could play all the files
man too good... easy and quick
I'm a newbe, I need more instruction than that. I have Ubuntu dapper and am trying to install Mplayer and can't. I've gone to the file that you say and have pasted the lines but it won't let me save. now what?
you must edit the file and run those commands as "root" (system administrator account).
How do I run things as a root? How do I switch to the administrator?
to run a command as root, append "sudo " before it and then enter your password at the prompt.
To change to a root shell, enter the command "sudo su root" and then your password.
hey, for the two lines that we should enter at the top, do we enter them in succession after typing "sudo"? also what is /etc/apt/sources.list?
thanks a lot
I spent days and nights try to build the
Mplayer from source, but MPlayer crash on dapper. You two lines save lots of time.
Thank you VERY MUCH!
this worked a treat, but it doesn't seem to play all video formats. How do i fix this?? for example at www.coolstreaming.us
i have sound but no video with web-tv??? any ideas please
Such unbelievablle misery on Debain/Ubuntu.
No problem, or even included on many other distributions.
It worked tho .. I appreciate the info.
hay thanks you man it's the quickest way
I get the same problem as earlier poster after adding the extra resources to my list.
Only 1 error, though:
libggi2
Cannot be loaded and may be dependency.
Any advice on where to get this extra piece? ubuntu newbie, here.
To run ANYTHING as root in the TERMINAL write:
sudo before anything!
REMEMBER IF YOU ARE RUNNING INTEPID IBEX
replace "dapper" with "gutsy"
For those who are SUPER NEW with Ubuntu,
go to:
SYSTEM > Administration > Software Sources > Third Party Software
Click ADD
Copy and paste this:
deb http://archive.ubuntu.com/ubuntu gutsy multiverse
Click ADD SOURCE
Click ADD again and copy and paste this:
deb-src http://archive.ubuntu.com/ubuntu gutsy multiverse
Click ADD SOURCE
Done.
Go to terminal and put in:
Sudo apt-get update
after it's done input
Sudo apt-get install Mplayer
Remember it might ask you for your password!
Hope this helps some of you with Intrepid Ibex!
I'M NEW TO ubuntu, i don't know how to install the software for eg VLC etc.. plz help
Post a Comment