LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install xmms.rpm (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-xmms-rpm-4175451104/)

yashfire007 02-21-2013 07:27 AM

How to install xmms.rpm
 
1 Attachment(s)
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..

druuna 02-21-2013 07:41 AM

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).

yashfire007 02-21-2013 07:44 AM

Quote:

Originally Posted by druuna (Post 4896668)
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.

druuna 02-21-2013 07:47 AM

Quote:

Originally Posted by yashfire007 (Post 4896670)
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.

DavidMcCann 02-21-2013 10:40 AM

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.

yashfire007 02-21-2013 09:57 PM

Quote:

Originally Posted by DavidMcCann (Post 4896798)
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...

John VV 02-21-2013 10:12 PM

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


Knightron 02-21-2013 10:13 PM

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?

John VV 02-21-2013 10:19 PM

"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

DavidMcCann 02-22-2013 11:17 AM

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.

yashfire007 02-23-2013 12:54 AM

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.

John VV 02-23-2013 01:27 AM

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 .

Knightron 02-23-2013 06:47 AM

@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.

yashfire007 02-23-2013 07:08 AM

sorry

yashfire007 02-23-2013 07:10 AM

Quote:

Originally Posted by Knightron (Post 4898092)

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


All times are GMT -5. The time now is 02:41 PM.