executable file does not exist

Smoot Carl-Mitchell smoot at tic.com
Sat Mar 7 14:10:49 UTC 2009


On Thu, 2009-03-05 at 15:42 +0100, Eva Torreira wrote:
> Hallo!
> 
> I am trying to install a programm using an executable file in Ubuntu
> 8.04. It should work quite easily....
> But when I try to execute it with "sudo ./programm name" a received a
> message that says that the file does not exist. But it does! I can see
> it, I can copy it into another directory...
> I have tried to execute it in /usr/local and from Desktop, but the
> message does not change.
> 
> I would really appreciate your help!!

Check to be sure the file has the execute bits set.  If you are getting
a message like:

sudo: unable to execute ./zzz: No such file or directory

then the file may be a script and the script interpreter is not
installed on your system.  The above usually means the pathname found in
the first line of the script does not exist.

#! <pathname>



-- 
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list