Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I downloaded something off the internet for my ubu12.04x86 and whenever i cd to that directory and try ./mono is gives me

bash: ./mono: No such file or directory

mono is a type of .net->deb container for aplications allowing some programs to run on linux that were made for windows

also even though i have set Allow executing file as program, when i double click it doesnt ask me whether to display cancel run or runterminal option

why?

share|improve this question
2  
Can you cd to that folder and run ls -l? –  minerz029 Nov 19 '13 at 23:04
    
Have you installed mono? –  Braiam Nov 19 '13 at 23:13
    
after ls -l it gives me the files, one of wich is: "-rwxrwxrwx 1 thenok thenok 2629092 Sep 14 2010 mono" –  Then Enok Nov 20 '13 at 10:14
    
i have tried to install mono, but that doesnt change the fact that i need to run this script not the program from ubuntu software center –  Then Enok Nov 20 '13 at 10:24
add comment

1 Answer 1

Either mono is not in that directory or it is not executable. If it is not in that directory, use either of these commands to find it:

whereis mono

updatedb; locate mono

If it is in that directory, run:

chmod +x ./mono

and try again.

share|improve this answer
    
whereis mono -> "mono: " –  Then Enok Nov 20 '13 at 10:16
    
updatedb; locate mono -> shows a lot of files and folder, most are "/usr/share/icons/ubuntu-mono-light/*" –  Then Enok Nov 20 '13 at 10:17
    
did i forgot to mention that i already chmod-ed it? ; chmod gave no error, but running it afterwards proved the same no such file –  Then Enok Nov 20 '13 at 10:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.