How to install mplayer on Kubuntu and Ubuntu?

 

  • edit /etc/apt/sources.list and uncomment the lines for universe (remove the "#" in front of the lines)
  • add a line similar to universe see the example:
    deb http://at.archive.ubuntu.com/ubuntu breezy multiverse


    (note I am in Austria, I suggest you get a mirror closer to you)
    the two steps before are only needed if you run breezy, with 9.04 it is already as it should be.
  • cd /tmp
    (change directory to /tmp) 
  • wget http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2
    (download any extra codecs) 
  • tar -jxf essential-20071007.tar.bz2
    (unpack the codecs) 
  • sudo mkdir /usr/lib/win32
    (create the directory for the codecs) 
  • sudo mv essential-20071007/* /usr/lib/win32
    (move the "codecs" to the new directory) 
  • rm -r essential-20071007*
    (remote the folder) 
  • sudo aptitude update
    (update apt-sources) 
  • sudo aptitude install mplayer smplayer
    (install mplayer) 
SMPlayer is a nice GUI for mplayer by the way, so enjoy!

 

You cannot comment on this entry