LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-12-2003, 08:35 AM   #1
Paone
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Rep: Reputation: 0
Question n00b need help installing program...


How do i install a program with the extension .x86.run?? I have tried playing with it and linux forever, and maybe im that ignorant to linux, but i have not been able to figure it out. Can anyone help? Thanks in advance. PS. using Redhat 9
 
Old 10-12-2003, 08:37 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Type chmod +x filename to make it executable. Then, to run it just type ./filename when you're in the same directory as the file you want to execute.

hw
 
Old 10-12-2003, 08:39 AM   #3
Paone
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
will try it...thanks for your quick response! you should receive a reward. perhaps a coffee...
 
Old 10-12-2003, 08:56 AM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Mmmmm. Coffee.

hw
 
Old 10-12-2003, 08:58 AM   #5
Paone
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Ok..you will hate me sooner or later...

Ok, got the program installed successfully. How the hell do i run it? I am in the directory where it is installed, etc. There is a .x86 executable file but when i try that, it says the file can't be found. and there is also a shell script file. I'm assuming i need to do something with either of those two to make the game run. If you need more info let me know.
Thanks in advance.
 
Old 10-12-2003, 09:59 AM   #6
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Yes, some more info would probably be needed.

What program is it you are installing? It is quite probable that the .run file (which I assume is the installer) created a directory structure, either in the directory from which the installer was run, or in some predetermined or user-set directory (did it ask where to install?).

You should be able to run the shell script by either doing the chmod +x on it (if it's not already executable) and then ./scriptname, or just type sh scriptname to execute it using the sh shell (in most cases this invokes the bash shell called with classic sh compatibility).

God I really really need to cut down on my use of parantheses.

hw
 
Old 10-12-2003, 10:12 AM   #7
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Just as a little addition to what I wrote above: Whenever you want to launch a program file not located in the any of the directories in the $PATH environment variable you can type the full path to the program or script to execute it, as long as the file is executable (there we have chmod +x again!).

To see what directories are in your $PATH you can type echo $PATH. The list is separated by colons (":"). Programs not provided by your distribution provider (Redhat, Debian, SuSE, whatever it may be) should be installed in /usr/local/, and in /usr/local/bin you can create symbolic links to the executables themselves if the need arises, or you could copy single-file programs and scripts to this directory. If you haven't installed any programs by yourself already this directory is probably empty when you start off.

For reference, here are some simple examples for executing files:

- Execute a file in your home directory, no matter where you are in the file system: ~/filename
- Find out which file would be launched when running a command: which programname (try which whoami or something)
- Launch etded, a shell script to start the Enemy Territory game server, if it's installed to /usr/local/games/enemy-territory and no matter where you are in the file system: /usr/local/games/enemy-territory/etded

If the last is the case, copy the etded script to /usr/local/bin and you can just type etded .

hw
 
  


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
n00b question about installing application bonniehandi Linux - Newbie 4 11-20-2005 06:11 PM
Installing Ubuntu (n00b problems) datassette Ubuntu 4 08-09-2005 11:31 AM
n00b installing drivers... matoau Linux - Newbie 7 06-03-2005 09:42 AM
n00b installing mandrake 10 for first time roggae Linux - Laptop and Netbook 1 08-29-2004 04:11 PM
N00b: how do i install a program on slackware? FlinkL.n00b Linux - Software 1 08-26-2004 07:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:04 AM.

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