LinuxQuestions.org
Help answer threads with 0 replies.
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 01-13-2006, 01:58 AM   #1
Arkan123
LQ Newbie
 
Registered: Jan 2006
Location: Canada
Distribution: Mandrake
Posts: 28

Rep: Reputation: 15
how to exacute a .run file


how do u exacute a .run file?
 
Old 01-13-2006, 02:04 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
This will work if the file actually is a binary executable:
set the execute permission with "chmod".
If you own the file, this can be something like:
chmod o+x the_file.run
(you 'll need to add the path to the file if it's not in the current directory).

To determine the file type, use the "file" command.
file the_file.run
 
Old 01-13-2006, 02:11 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
how to exacute a .run file
how do u exacute a .run file?
And if you don't want to chmod it just use
sh .run

And while you're learning: there's a spell-checker, too,
a single click (for your convenience).


Cheers,
Tink
 
Old 01-13-2006, 08:06 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Never seen a file with extension ".run". Where did you get this?

Execution of a file first requires that it be an "executable"---typically a binary or a shell script.

If it is the $PATH, then you just type the filename. Otherwise, you need an absolute or relative pathname, eg:
./filename if you are in the same directory
/dir/dir/filename from anywhere

You also have to have execute privileges on the file---this is set with chmod
 
Old 01-13-2006, 01:51 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Never seen a file with extension ".run". Where did you get this?
There's the NVidia binary drivers for one...


Cheers,
Tink
 
Old 01-13-2006, 06:08 PM   #6
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
>>And while you're learning: there's a spell-checker, too,
>>a single click (for your convenience).

ware
Oh there...
changed to where

Thanks Tink!
 
  


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
how do i run a file Geminias Linux - Newbie 11 01-02-2006 07:01 AM
run a file tyranus Debian 4 09-07-2005 03:36 AM
How do I run a ¨.run¨ file? Jube Linux - Newbie 4 07-03-2005 10:12 PM
how to run file *.run pixelV Linux - Newbie 1 03-10-2003 08:01 AM
I can see the file, but I can't run it .... nutecinc Linux - General 7 01-01-2003 09:37 AM


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