LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-21-2013, 07:27 AM   #1
yashfire007
Member
 
Registered: Jan 2013
Distribution: CentOS, RHEL 6.4
Posts: 79

Rep: Reputation: Disabled
How to install xmms.rpm


Dear all,
Please guide me how to install xmms.i386.rpm in CentOS or redhat
While i am trying to install that it showing some sort of errors.Please check the attachment as i have snapped a screen shot..
Attached Thumbnails
Click image for larger version

Name:	Xmms.error.jpg
Views:	68
Size:	37.3 KB
ID:	11904  
 
Old 02-21-2013, 07:41 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Too my knowledge, xmms is not part of the standard centos/redhat repositories. The errors shown are missing dependencies, which might also not be part of the standard repository.

I would suggest making your life easier and install RPMforge, this way you can use yum and dependencies will also be taken care of.

Here's a current list with the packages that RPMForge contanis: package list

If the above can, for whatever reason, not be done: The error shows packages that also need to be installed (in the correct order and possibly these packages also have other dependencies).
 
Old 02-21-2013, 07:44 AM   #3
yashfire007
Member
 
Registered: Jan 2013
Distribution: CentOS, RHEL 6.4
Posts: 79

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
Too my knowledge, xmms is not part of the standard centos/redhat repositories. The errors shown are missing dependencies, which might also not be part of the standard repository.

I would suggest making your life easier and install RPMforge, this way you can use yum and dependencies will also be taken care of.

Here's a current list with the packages that RPMForge contanis: package list

If the above can, for whatever reason, not be done: The error shows packages that also need to be installed (in the correct order and possibly these packages also have other dependencies).

Thank you for your reply, But i need to install xmms.rpm only by rpm command.
 
Old 02-21-2013, 07:47 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by yashfire007 View Post
Thank you for your reply, But i need to install xmms.rpm only by rpm command.
The you need to (download and) install all the missing dependencies, like stated in my previous reply.
 
Old 02-21-2013, 10:40 AM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
You don't say where your rpm came from, but it's certainly not a package intended for a Red Hat system. There are two ways out.

1. Get the correct xmms package from rpmforge or atrpms, which will have the correct dependency marking.

2. Make sure you have gtk2-devel installed: that may take care of the dependencies. Then install xmms with "rpm -i --nodeps". Run it from the command line to see if there are still any complaints about dependencies: if there are, install the things it asks for.
 
Old 02-21-2013, 09:57 PM   #6
yashfire007
Member
 
Registered: Jan 2013
Distribution: CentOS, RHEL 6.4
Posts: 79

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by DavidMcCann View Post
You don't say where your rpm came from, but it's certainly not a package intended for a Red Hat system. There are two ways out.

1. Get the correct xmms package from rpmforge or atrpms, which will have the correct dependency marking.

2. Make sure you have gtk2-devel installed: that may take care of the dependencies. Then install xmms with "rpm -i --nodeps". Run it from the command line to see if there are still any complaints about dependencies: if there are, install the things it asks for.


DEAR BRO,
I have did what you have said, i ran the command #rpm -ivf --nodeps xmms-libs-1.2.10-29csa31.i386.rpm
No error came, it got installed i think so. Please help me for another thing how can i use the installed xmms package...
 
Old 02-21-2013, 10:12 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
how to use it
You could try looking on there website
http://www.xmms.org/

but if all the dependencies ( and the dependencies for the dependencies ) are not installed and compatible .It will not run .

it requires the ancient gtk1
the current CentOS 5.9 and 6.3 are using GTK2

unless you MUST use a program that was last updated in 2007 ( and already obsolete seeing as it needed the discontinued gtk1)

you would be far better off with something current
like "Mplayer" or the already installed by default Gmplayer
or VLC
or rhythmbox

or the current version of xmms
Xmms2
Code:
yum search xmms2
--- then if listed install it ---
yum install xmms2

Last edited by John VV; 02-21-2013 at 10:16 PM.
 
Old 02-21-2013, 10:13 PM   #8
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
yashfire007, i just want you to confirm you're using the i386 version of CentOs?
If the package installed successfully it should be in your menus, at the very least, after a reboot.
Just a quick question. If you followed DavidMcCanns advice and installed gtk2-devel; i'm assuming you used yum; how come you couldn't install xmms the same way?
 
Old 02-21-2013, 10:19 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
"gtk2-devel;"
well that would be gtk1-devel
seeing as it needs gdk1

the error in the first post is looking for libgtk.so.1.2

have fun installing it
 
Old 02-22-2013, 11:17 AM   #10
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
I can't offer any help on xmms, since my computer can't run it. If it doesn't work, uninstall and get the atrpms package with yum; that will be up-to-date and the dependencies will be taken care of.
 
Old 02-23-2013, 12:54 AM   #11
yashfire007
Member
 
Registered: Jan 2013
Distribution: CentOS, RHEL 6.4
Posts: 79

Original Poster
Rep: Reputation: Disabled
My machine is not connected to internet, so i cannot use yum to install xmms.
So please suggest what to do, what are the steps to be done to install xmms by rpm command.
How can install all the dependencies and where i can find those. Please guide me.
 
Old 02-23-2013, 01:27 AM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
first off
do not use the ancient xmms1.2
use xmms2
and you are going to need a large usb thumb drive or some dvd-+RW

but on the CentOS install dvd is gmplayer
the default video/multimedia player
and rhythmbox , for music

for xmms2 you will need to build the source code
http://sourceforge.net/projects/xmms...2/0.8%20DrO_o/

to do that you need about 20 programs installed first
the CentOS 6.3 install dvd ( it is 6 months OUT OF DATE ) will have the development tools
you will need to enable the "install media" repo
and use that to install the tools
Code:
su -
yum groupinstall " Development Tools" 
---- possibly using this command ---
yum --enablerepo=CENTOS_InstallMedia groupinstall " Development Tools"
replace " CENTOS_InstallMedia" with the real name of the file ( it is on the 4.6 gig install dvd )


after that
we can help with manually downloading on a different computer -- that will be a pain and moving them over to the centos install

see the install instructions for what needs to be installed
https://xmms2.org/wiki/Install_instructions
from a centos 6.3 mirror or built
You do have over a week for this ?
it will take a lot of time .

Last edited by John VV; 02-23-2013 at 01:30 AM.
 
Old 02-23-2013, 06:47 AM   #13
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
@yashfire007 as it's already been said, you can install xmms two ways, download the rpm for xmms and all its dependencies and install all of them in the correct order.
Or you can compile it from source, plus install any needed dependencies.

The method given to you by John VV is option 2, compiling the source code.

Either way you choose, you are going to have to install the dependencies manually first. I personally do not recommend compiling from source under this case because simply, devel packages are annoying in my opinion.

You never said which version of CentOs you are using. Tell us, what version, and what arch, and we/i can direct you to the appropriate repository to get the required packages.

As a warning though, no matter which path you choose, this will be an annoying thing to do and i hope you have a lot of patience.

Once you get the needed packages you can install them with the simple command

Code:
# rpm -i foo.rpm
On an off topic remark, if you do decide to compile the packages from source, in my experience, it is a lot smoother to do this in an rpm distro than a deb distro; so you're in luck. Still though, i recommend you go get the precompiled rpm binarys for this.
 
Old 02-23-2013, 07:08 AM   #14
yashfire007
Member
 
Registered: Jan 2013
Distribution: CentOS, RHEL 6.4
Posts: 79

Original Poster
Rep: Reputation: Disabled
sorry

Last edited by yashfire007; 02-23-2013 at 07:09 AM.
 
Old 02-23-2013, 07:10 AM   #15
yashfire007
Member
 
Registered: Jan 2013
Distribution: CentOS, RHEL 6.4
Posts: 79

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Knightron View Post

You never said which version of CentOs you are using. Tell us, what version, and what arch, and we/i can direct you to the appropriate repository to get the required packages.
version : CentOS release 5.9
arch : i686
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm xmms-mp3 lame hectorDUQUE Fedora 2 01-16-2010 11:32 AM
building a RPM for xmms (xmms-config, multiarch ???) bliblu Linux - Software 0 06-06-2006 09:01 PM
XMMS - upgrading (rpm) from 1.2.7 to 1.2.10 xbill311x Linux - Software 9 05-24-2005 06:30 AM
xmms source rpm Besweez Linux - Software 1 05-06-2005 04:44 PM
XMMS RPM for Mandrake 9.2 Mason Storm Mandriva 4 12-10-2003 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration