Why: a) A guy entered #xmms on Freenode and wanted to install XMMS on him Ubuntu, so I tried to help him.
b) XMMS is still a good player, and if somebody wants to use it, why not help him?
We will install XMMS from source, but there are alternatives though like:
1) change your distro
2) try gutsy packages
OK, let's start
First Step:
We need to download the required packages to compile XMMS
# sudo apt-get install autotools-dev automake1.9 libtool gettext libasound2-dev libaudiofile-dev \
libgl1-mesa-dev libglib1.2-dev libgtk1.2-dev libesd0-dev libice-dev libmikmod2-dev libogg-dev \
libsm-dev libvorbis-dev libxxf86vm-dev libxml-dev libssl-dev build-essential make
Depending on your internet connection and your machine this may take some minutes.
Second Step:
Prepare the XMMS for compiling
Create a directory in your HOME directory:
# mkdir ~/build
Change the working directory to it:
# cd ~/build
Download XMMS sources:
# wget http://legacy.xmms2.org/xmms-1.2.11.tar.gz
Unpack it:
# tar xvf xmms-1.2.11.tar.gz
Change the working directory to the source directory:
# cd xmms-1.2.11/
Third Step:
Compiling it:
This generates the necessary files, and checks your system:
# ./configure --prefix=/usr
The actually compiling
# make
Fourth Step:
Install it:
# sudo make install
After install we no longer need the source directory:
# cd
# rm -rf ~/build
That's it, now we can run XMMS: press ALT+F2 write xmms there and hit enter and enjoy your music.
NOTE: many people say that XMMS is old, buggy,no UTF-8 support, etc. Yes maybe all is true, but it's an audio player not a media library organizer, so it plays music and you listen, that's all and it does that job.
UPDATE:
Flac Plugin
We need to get the build dependencies
# sudo apt-get build-dep flac
You already know what's this ;)
# mkdir ~/build
# cd ~/build
Get flac's sources
# apt-get source flac
Another well known step:)
# cd flac-1.2.1
# ./configure
# make
It's enough to copy the plugin, not to install the whole flac stuff, this is good if will be flac update, note, an update wont break the plugin.
# cp src/plugin_xmms/.libs/libxmms-flac.so ~/.xmms/Plugins
# cd
# rm -rf ~/build
UPDATE2:
Knuta's Ubuntu & Debian repo
Check out here
Thanks for this website and for the steps outlined above. You got me workin with xmms and flac support. high five.
ReplyDeleteFrom my post on
ReplyDeletehttp://ubuntuforums.org/showthread.php?p=8255907#post8255907
Guys to get xmms on karmic
Install jaunty versions of (for your architecture)
in order of install
libglib1.2ldbl_1.2.10-19build1
libglib1.2-dev_1.2.10-19build1
libgtk1.2-common_1.2.10-18.1build2_all.deb
libgtk1.2_1.2.10-18.1build2
Then install the jaunty version
http://www.pvv.ntnu.no/~knuta/xmms/
Only thing I noticed it it didn't install a launcher in Sound & Video, Easy enough to call from temrinal or open music file with custom command xmms.
I'm sure someone can let us know how to create correct xmms.desktop file for it.
FYI, this also works in 8.10
ReplyDeleteLinux Magazine
Thanks man, Do you have a paypal account?
ReplyDeletenope ( i dont have a credit card )
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThis XMMS play icecast or shoutcast streams too ?
ReplyDeletesure
ReplyDeleteOK, thanks. I want to "translate" an icecast stream to shoutcast because the icecast is not supported by some flash players and i want to use XMMS to play an icecast stream and attaching in the same time this xmms to a shoutcast streaming server.
ReplyDelete