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 01-25-2006, 02:40 AM   #1
ninpow
LQ Newbie
 
Registered: Jan 2006
Location: Meridian, ID
Distribution: Arch Linux 2009.08 / Slackware 13.0
Posts: 28

Rep: Reputation: 15
Executible


SUPER Do i open executable files with a different program? Or will it run by itself? SUPER
MADE A TYPO ON THE THREAD NAME

Last edited by ninpow; 01-25-2006 at 02:43 AM.
 
Old 01-25-2006, 02:53 AM   #2
esje
Member
 
Registered: Mar 2004
Location: Holland
Distribution: Debian Etch, Gentoo 2005.1/SUSE 10
Posts: 52

Rep: Reputation: 15
You will most probably be able to run it using "./progname" in the directory containing the file.

Shell-scripts can be run with "sh progname".

You can also put it in /usr/local/bin and just do "progname".

So depending on what kind of file it is, and of course how often you're going to use it, you can do either one of the above.
 
Old 01-25-2006, 03:01 AM   #3
ninpow
LQ Newbie
 
Registered: Jan 2006
Location: Meridian, ID
Distribution: Arch Linux 2009.08 / Slackware 13.0
Posts: 28

Original Poster
Rep: Reputation: 15
but when i run it, it doesn't do anything

Last edited by ninpow; 01-25-2006 at 03:02 AM.
 
Old 01-25-2006, 03:08 AM   #4
esje
Member
 
Registered: Mar 2004
Location: Holland
Distribution: Debian Etch, Gentoo 2005.1/SUSE 10
Posts: 52

Rep: Reputation: 15
And exactly how dit you run it? What is it supposed to do? Are you sure you made it executable for yourself? Is it a binary file or a script you wrote? Did you get any error messages?
 
Old 01-25-2006, 03:35 AM   #5
ninpow
LQ Newbie
 
Registered: Jan 2006
Location: Meridian, ID
Distribution: Arch Linux 2009.08 / Slackware 13.0
Posts: 28

Original Poster
Rep: Reputation: 15
i run it through "/progname" and it just sits there. it doesn't give me an error message

or when i try to transfer it over to the /usr/local/bin it gives me an error message saying:
"Access denied.
Could not write to /usr/local/bin/steam."

P.S. "Steam" is the executable file
 
Old 01-25-2006, 03:38 AM   #6
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
Open a term, type /usr/local/bin/steam (or in most cases just steam). Remember thet *NIX shells are case-sensitive. I lost hlaf an hour trying to run vmac when I had to run VMac... LOL
 
Old 01-25-2006, 03:55 AM   #7
sohny
Member
 
Registered: Aug 2004
Location: bangalore
Distribution: Redhat,Ubuntu
Posts: 64

Rep: Reputation: 15
No the dot is important.U have to give the following at the promt.
./steam
 
Old 01-25-2006, 06:06 AM   #8
esje
Member
 
Registered: Mar 2004
Location: Holland
Distribution: Debian Etch, Gentoo 2005.1/SUSE 10
Posts: 52

Rep: Reputation: 15
Quote:
Originally Posted by ninpow
i run it through "/progname" and it just sits there. it doesn't give me an error message

or when i try to transfer it over to the /usr/local/bin it gives me an error message saying:
"Access denied.
Could not write to /usr/local/bin/steam."

P.S. "Steam" is the executable file
You don't have to copy it there inorder to get it to work. It's only a convenience so that you can just run it like I said above; with only the filename. If you aren't going to use it uch or if it doesn't matter much where you run it, you can keep it in your home directory and run it with ./Steam .

Anyway, good thing that you cannot write to /usr/local/bin. Only root should be able to write there. You can, though, put it there as root, give yourself permission to run it, and run it as a user.
 
  


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
cant find mozilla executible for flash plugin.... mipia Slackware 17 03-08-2004 10:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:38 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