LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 12-13-2006, 10:59 PM   #1
devonto
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Rep: Reputation: 0
How are binary program files placed into a directory for installation?


How are programs placed in a directory for installation? For example, I wanted to install Java so I could use the jbidwatcher sniper program. Everytime I download the Java program I get the file jre-1_5_0_09-linux-i586-rpm.bin

Does this type of file require bulding? I am just starting to use Linux and I have no idea how to install new programs outside the Xandros Network. I did try to use Xandros Network to install, but it said this was an invalid format and could only use rpm or deb file formats.
 
Old 12-13-2006, 11:36 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
download the plain .bin not the rpm .bin.
the instructions to install it are here: http://java.sun.com/javase/6/webnote...elf-extracting
hope it helps.
 
Old 12-15-2006, 09:26 AM   #3
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
With most programs you should be able to get away with packages already available to your distro. Although, when compiling from source generally all executable files are put in /bin, libraries in /lib etc by default when the install command is run. You can however set your own directories by adding "--prefix= dir where you want the files." when running the config command, although remeber that if it is in a directory not set in a user's PATH it will not be executable by just typing the programme's name. You can then make links either hard or symbolic to the relative directories. Otherwise use a programme called checkinstall which will automatically create packages that you can manage via you package manager.
 
  


Reply


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
Knoppix - installation of program files pazkaw Linux - Newbie 7 11-12-2005 11:19 AM
Does Linux have a Program Files directory? aznluvsmc Linux - Newbie 4 08-24-2004 08:26 PM
How to produce two binary program using automake melinda_sayang Programming 1 06-05-2004 11:30 AM
How to find the directory of a binary (in C) DiscoStoo Programming 1 03-22-2002 03:29 PM
Program files and directory structure Carel Linux - Newbie 5 04-11-2001 10:57 AM


All times are GMT -5. The time now is 06:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration