LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   [NEWBIE] Teach me how to install a program (https://www.linuxquestions.org/questions/linux-newbie-8/%5Bnewbie%5D-teach-me-how-to-install-a-program-215370/)

hivsteini 08-09-2004 10:13 AM

[NEWBIE] Teach me how to install a program
 
Hello

I installed mandrake yeasterday.. and its one think thad a like to ask...
How do i install a program... I downloaded xmms-1.2.10 (tar.gz) and i would like to know how to install it.. where should i extract... just teach me everything about installing a program :)

Thanks

XavierP 08-09-2004 10:16 AM

"Everything" is a bit broad :D Go here: http://www.linuxquestions.org/questi...threadid=45094 this will give you a good start point.

Also, go to www.urpmi.org/easyurpmi - Mandrake has an excellent tool called urpmi which automates the download and install of programs - you would simply type in urpmi xmms and the program will do all the hard work for you.

And welcome to LQ :D

druisgod 08-09-2004 10:20 AM

First off if you are using a rpm based distribution, like Mandrake is, you should probably just download the rpm package and use that to install. With that you could simply rpm -ivh xmms-1.2.10-i586.rpm and you package database would be updated and the package installed.
But if that isnt what you want, and you want to build it from source, you have to -

Open a terminal
tar xfz xmms-1.2.10.tar.gz
cd xmms-1.2.10
./configure
make

and then as root

make install


that should get er done :D


as long as you have the dependencies met . . .:(

Druisgod

hivsteini 08-09-2004 10:28 AM

error: cannton create %sourcedir /usr/src/RPM/SOURCES... this is what comes up when I write rpm -ivh xmms-1.2.10-1.src.rpm

comprookie2000 08-09-2004 10:43 AM

that is a sorce rpm,no good, try this it is the best for mandrake http://urpmi.org/easyurpmi/index.php

druisgod 08-10-2004 06:35 AM

What he's saying is that you need the rpm from the XMMS site that doesnt have src in it. Those are rpms that unpack as source. You should look for something that is like, xmms-1.2.10.i586.rpm.


Druisgod

theYinYeti 08-10-2004 06:40 AM

But if you want to use the src.rpm, then you have to install at least rpmbuild (from your CDs). Then open a console window, and type:
rpmbuild --rebuild /path/to/the/src.rpm/that/you/downloaded

Yves.

Micro420 08-10-2004 01:27 PM

Re: [NEWBIE] Teach me how to install a program
 
Quote:

Originally posted by hivsteini
Hello

I installed mandrake yeasterday.. and its one think thad a like to ask...
How do i install a program... I downloaded xmms-1.2.10 (tar.gz) and i would like to know how to install it.. where should i extract... just teach me everything about installing a program :)

Thanks

I never was able to install XMMS-1.2.10.tar.gz on my Mandrake. It was a pain and people did try to help, but no luck. I finally gave up. Here was my thread recent thread:

http://www.linuxquestions.org/questi...05#post1086405

druisgod 08-10-2004 02:07 PM

Holy crap Micro. What a confusing thread. I can see why you had problems. Not to get off the subject of this thread, but you need gtk1. Simple as that. Install the gtk rpm's, both devel and regular gtk. You should be able to compile then. Sometimes we need to stay on topic on these threads. Most old hats have a tendency to ramble and talk about specific experiences in the past, chatting on about things that have nothing to do with the original post. Like what I am doing right now :D


HIVI* Let us know how it came out!


Druisgod

pongmaster 08-10-2004 04:48 PM

xmms should be on your MDK installation CD's.
If you open your 'start' menu and go to System -> Configuration -> Packaging -> Install Software. You'll be asked for you root password. Enter it and the Mandrake Control Centre opens. Wait for it to find available packages and once it's done type xmms in the search box.
It'll list available xmms programs and plugins right down at the bottom of the list in the right hand pane. Select the xmms packages you want. Hit the install button and your CD tray should open automatically and you'll get a dialogue box open and ask you to insert CDx (where x is the number of the CD it wants).
You shouldn't have any problems following the instructions on the screen from then on.

Once xmms is installed, you need to sort out a bug that stops it opening and playing files from the program menu. Close the MCC and hit Alt-F2. Type in "menudrake" (without the quotes) and the menudrake program will open. In the right hand pane there will be a list similar to your 'start' menu. Find xmms on this list (it should be under Multimedia -> Sound).
Highlight xmms and in the left hand pane under the 'General' tab you'll see three boxes labelled; Title, Long Title, Command.
In the command box it'll probably say "soundwrapper xmms" (without the quotes). You need to edit this so it reads "xmms" (again with no quotes) then go to File -> Save. Menudrake will save the configuration you just changed. When it's done close menudrake and you're finished.


All times are GMT -5. The time now is 07:44 AM.