Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-25-2002, 09:14 AM   #1
Registered: May 2002
Location: Buffalo, NY
Distribution: Mandrake 9.0, Red Hat 8.0
Posts: 60

Rep: Reputation: 15
Question Installing Programs

Ok everyone...

I have tried Linux in the past and one of the main reasons I always give up is b/c I have big problems installing things. I can never figure out how to get something installed and when I try I always mess things up. Is there a general rule for installing programs in Linux? Possibly a set rule for reach type of file or something? If you could all help me out that would be great. I am running Mandrake 8.2.
Old 05-25-2002, 10:50 AM   #2
Registered: Apr 2002
Location: Michigan
Distribution: Slackware 8.0
Posts: 197

Rep: Reputation: 30
Well it depends on if you are trying to install them using rpm packages, or trying to compile them from source.

IF you are using rpm:

1) change to the directory where the rpm is in
2) rpm -ivh < The program.rpm>
3) If you are lucky it will install straight away.
4) Many times you will get a dependency error, so you got to install all the files it asks you to before you install your program
5) TO find those files, best place to search is
6) Also a very good idea is to read the man pages for rpm, to see all the commands that you can use with it. ex. update an old package, or remove a package you installed previously

If you want to compile from source:

1) extract the file you downloaded
3) First thing to do is look through the readme file to see if there are any specific steps that need to be taken for installing the program.
4) To compile most source you do the following 3 steps
5) ./configure --> This one is followed by a number of options if you want to take control of how the program is installed, but using it alone if fine if you want a default install. ./configure --help will give you a list of commands that you can do.
6) make
7) make install

The problem is that these steps are not set instone. Some programs might need extra steps to install, but others might need totally different steps to install them. So you always got to read the INSTALL, an README files that come with programs that need to be installed from source. Also read any install instructions that are located in the site that you download the programs from.

Last edited by Sfin; 05-25-2002 at 10:52 AM.
Old 05-25-2002, 11:00 AM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 245Reputation: 245Reputation: 245
If you take a look at our glossary you'll find I have added rpm and tar terms to it that might help you out also for anyone not aware the glossary is there. Feel free to submit a term to a mod or jeremy that you might find helpful and is not there.
Old 05-25-2002, 11:12 AM   #4
Registered: May 2002
Location: Buffalo, NY
Distribution: Mandrake 9.0, Red Hat 8.0
Posts: 60

Original Poster
Rep: Reputation: 15
Thank you for the help guys...I have a specific program that I am having problems with at the moment. I am trying to install LimeWire and I was having problems installing using the Java install program. Someone recommended I install it using the bin file (is that the source code?). I DLed the file, were do I go next??
Old 05-25-2002, 12:28 PM   #5
Registered User
Registered: May 2002
Location: Wisconsin, Madison
Distribution: FEDORA Core 1
Posts: 26

Rep: Reputation: 15

Glad to see I am not the only one here looking for some answers, I downloaded tz file and double clicked on it and came up with all sorts of files I have no clue where to start.. anymore websites to check out for installing programs ...

Thanks in advance

Looking to know more
Old 05-25-2002, 01:09 PM   #6
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
LimeWire is a tricky beast, you might have better luck using a different client such as gtk-gnutella

When it comes to bin files, generally

chmod a+rx file.bin

Last edited by dorward; 05-25-2002 at 02:07 PM.
Old 05-25-2002, 01:39 PM   #7
Registered: Apr 2002
Location: Michigan
Distribution: Slackware 8.0
Posts: 197

Rep: Reputation: 30
Well the .bin is not the source code.

I would recommend checking the sun site for information about installed the Java RE or the SDK. I just installed it now, and their instalation instructions were pretty helpfull.

Basically this is what I did:

1) su to become root
2) Move the .bin file into /usr/local/ --> You can put it whereever you want it doesn't matter.
3) chmod a+x file.bin --> Where the file.bin is the name of the bin file. Here you are making the bin executable so that you can install it.
4) ./file.bin

That is it. THe program is installed. One thing to note is that it will not install the java executable into the usr/bin , so when you run it, you got to use the correct path. ex. use/local/jsdk1.4.0/jre/bin/java

or you can add the location of that executable to the $PATH in etc/profile

or you could create a symbolic link to it in /usr/bin

so goto use/bin
then ln -s <path of the java> java

I hope this doesn't soud too confusing.
Old 05-26-2002, 04:49 AM   #8
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
I don't know if you have done a search on this website or not yet, but you should see at least 10 other people asking a similar question.

LimeWire is not as hard to install as it may seem. If you got the .bin version, I would suggest going back to limwire and getting the .tar.gz version. It's not on the first downloads page, you have to click the button that says something like "if you don't see your OS click here". Then you can download the Linux tarball version.

The rest is pretty easy.

You do have to have Java installed, but it's all in HERE Of course most of this is general, but I am sure it helps to have mandrake installed.

You should have no problems after reading that article and following those directions, but if you do, let us know.
Old 05-26-2002, 11:52 AM   #9
Registered: May 2002
Location: Buffalo, NY
Distribution: Mandrake 9.0, Red Hat 8.0
Posts: 60

Original Poster
Rep: Reputation: 15
Thumbs up Thank you!

Thanks for the help everyone! I think I got LimeWire running now! You all are great!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing Programs farid_145 Linux - Software 1 12-25-2004 04:23 PM
Installing new programs... rrfish72 Linux - Software 5 11-18-2004 12:59 AM
installing programs mannybabe Linux - Software 5 08-06-2003 11:16 AM
installing new programs scottsteibel Linux - Newbie 4 07-31-2003 05:36 PM
Installing programs jpc82 Linux - Newbie 6 10-17-2001 08:52 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:27 PM.

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