Downloaded genymotion and trying to access it by following their instructions. In the terminal, I've changed directory to where the file is, used chmod +x genymotion-2.4.0_x64.bin and sudo ./genymotion-2.4.0_x64.bin and it gives me sudo: ./genymotion-2.4.0_x64.bin: command not found.
Asked
Active
Viewed 4,610 times
0
-
1All I can think of is, maybe you're in the wrong directory or maybe you spelled the file name wrong... – Davide Jun 11 '15 at 11:27
-
You don't need `sudo` ..run `./genymotion-2.4.0_x64.bin -d "$PWD"` – heemayl Jun 11 '15 at 11:29
-
I tried originally to not use sudo, but it came back `Permission denied` What is "$PWD"? – DevJem Jun 11 '15 at 11:30
-
$PWD is the current working directory (try `echo $PWD`). If you are in the right directory, the file should appear in the output of `ls` – Wilf Jun 11 '15 at 11:34
-
@Wilf that still should be substituted even without echo – Sergiy Kolodyazhnyy Jun 11 '15 at 11:39
-
@Serg - I know :), `echo $PWD` is just a demonstration of what it does – Wilf Jun 11 '15 at 11:40
-
Wow, $PWD is helpful. I was typing out a long string of folders. Thanks. – DevJem Jun 11 '15 at 11:42
1 Answers
1
Solved by OP in Question
I was trying to execute it from the directory I had it in which was in a different partition than my home folder. I moved it to home and right clicked and selected
Allow executing file as programfrom the permissions tab of the properties, followed the previous steps adding the directory I was in as the install folder, and it worked. Which only opens up new questions for me... Why couldn't I execute the file in the target folder, why couldn't I clickAllow executing file as programin the original directory, and why did I have to move the.binfile to the home folder?
Tim
- 32,274
- 27
- 118
- 177