Report inadequate content

How to play MP3 with Ubuntu

{
}

It's usual to find many distributions without MP3 support due to licensing issues. If you have MP3 files and don't know how to play them do the following:

  1. Open the terminal
  2. Type sudo gedit /etc/apt/sources.list
  3. Remove comments to packages (This is erasing the # characters in lines starting with ##deb)
  4. Save changes and close gedit
  5. Update the packages sudo apt-get update
  6. Install the mulitmedia codecs:

sudo apt-get install gstreamer0.8-plugins gstreamer0.8-lame gstreamer0.8-ffmpeg w32codecs libdivx4linux lame sox ffmpeg mjpegtools vorbis-tools gst-register-0.8

Now you can open a player like Rythmbox or Kaffeine and start listening songs. Totem won't play mp3 with this. To associate mp3 files with a player, right-clic on a mp3 file and go to "Open with" tab.

{
}
{
}

Comments How to play MP3 with Ubuntu

This looks slightly more convenient:

sudo apt-get install gstreamer0.8-plugins gstreamer0.8-lame gstreamer0.8-ffmpeg w32codecs libdivx4linux lame sox ffmpeg mjpegtools vorbis-tools

gst-register-0.8
SW SW 28/08/2007 at 04:19
Sure it is :)
Even more cut 'n paste:

sudo apt-get install gstreamer0.8-plugins gstreamer0.8-lame gstreamer0.8-ffmpeg w32codecs libdivx4linux lame sox ffmpeg mjpegtools vorbis-tools && gst-register-0.8
Nestor Wheelock Nestor Wheelock 05/10/2007 at 23:50
senthil@senthil-desktop:~$ sudo apt-get install w32codecs
Reading package lists... Done
Building dependency tree... 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
senthil@senthil-desktop:~$ sudo apt-get install libdivx4linux
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package libdivx4linux
senthil@senthil-desktop:~$

i cant install oly 2 packages
which doesnt allow to play mp3
senthil senthil 12/12/2007 at 14:17
You need to add the sources to the sources.list, make update and try. I don't know what version of ubuntu you have, but that was working for 6.01 or 6.10
hey even im facing the same problem as senthil has stated wht i shud i do now?
phonexATlinux phonexATlinux 14/01/2008 at 14:44
Since I have all this packages from the old and updated version I can't try it now. I suggest uncomenting all the sources in the apt sources and try this as well:


sudo aptitude install gstreamer0.8-plugins-multiverse
sudo aptitude install gstreamer0.8-ffmpeg
sudo aptitude install libmad0
gst-register-0.8


If you can't play mp3 at this point install : AUTOMATIX
hi,
suppose I got no internet on the computer i wanna play mp3  with?
what files can I download then go n install?
thanks in advance
ben ben 14/08/2008 at 12:46
That was a post of the year 2006. I think that the new version of Ubuntu comes with mp3 support already...
Pues diría que no ;)
Hay...somebody help me i want to play mp3 in my ubuntu 8.10...i dont have internet..
please somebody help me ... c.cyberx@yahoo.com
interpid interpid 01/01/2009 at 17:39
[...]ang.org/faqing/node/56" target="_blank">How to Play DVD/VCD/MP3 in Ubuntu 7.04 | Linux and Web Development How to play MP3 with Ubuntu[...]
Thanks for information.........
pendujatt pendujatt 07/05/2009 at 09:53
I installed ubuntu and I cannot play any audio or video file
jot jot 20/04/2011 at 19:31

Leave your comment How to play MP3 with Ubuntu

Log in to Obolog, or create your free blog if you are not registered yet.

User avatar Your name