executable file does not exist

Nils Kassube kassube at gmx.net
Sat Mar 7 07:31:04 UTC 2009


Eva Torreira wrote:
> 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.

If the program has a space in the name like you wrote in your 
description the command should be

sudo "./programm name"

because otherwise the shell would try to execute "./program" with "name" 
as an option.

Other than that, check the permissions that the program file is 
executable.


Nils




More information about the ubuntu-users mailing list