I am trying to install PhoneGap off of this
link: http://dasunhegoda.com/installrun-phonegap-ubuntu/797/ and I have a problem. I have gotten to the part where I have to install genymotion. I installed genymotion but my computer can't find the file chmod u+x genymotion-2.8.1_x64.bin
That was what I typed in and this is what it returned:
chmod: cannot access 'genymotion-2.8.1_x64.bin': No such file or directory
So I wondered if I had really downloaded it. I went to my search bar and I typed "genymotion-2.8.1_x64.bin" just as it should, it showed me the file. What can I do so that when I perform the actions I am supposed to do (The ones written the link provided) they work (basically how can I fix this error). I know that VirtualBox isn't the error because I have it installed (I entered the code that installs it and it didn't return any errors).
1 Answers
I can't seem to locate the information regarding installation of genymotion in the link that you provided, be that as it may, in more general terms do the following.
First find the file in question: in your case the command find / -type f -name "genymotion-2.8.1_x64.bin" 2>/dev/null
should be useful.
What this does is search the file system from the root /
for a file (-type f) with the name genymotion-2.8.1_x64.bin
and redirects all error messages to /dev/null' sanitizing the output to help eliminate further confusion. You can leave off the
2>/dev/null` part if you don't mind seeing the numerous Permission Denied Errors that you will invariably get as find attempts to traverse your complete file system as a normal user.
Either way, the final line of output will be the full path to the file you wish to change permissions on similar to /full/path/to/filename.ext
where /full/path/to/
is the full path to the file in question and filename.ext is the file (in your case genymotion-2.8.1_x64.bin)
to
Now as mentioned in my comment you have the option of doing
A)
cd /full/path/to/
chmod u+x genymotion-2.8.1_x64.bin
OR
B)
chmod u+x /full/path/to/genymotion-2.8.1_x64.bin
Note: You can reduce the possibility of typing errors with this approach by copying the full path and filename from the output and pasting it after chmod u+x
Either of these approaches will result in adding executable permissions for the user who owns the file in question.
The only other possibilities I can think of is that you thought you downloaded the installation file and didn't (or did and failed to extract the content of it somewhere sensible. For instance you could be looking for the file in your VM installation rather than your host installation where you actually extracted it or vice versa) Either of these would result in the inability to change permissions as you can't change permissions on a non-existent file.
There's a related post here but I doubt that's your issue since you can't seem to find the file at all.

- 36,023
- 25
- 98
- 183
-
Thank you so much for answering my question . I did what you told me to do and when I entered
./genymotion-2.8.1_x64.bin
it still said no such file or directory. When I tried your option B, nothing happened (I don't know if that's what should have happened). – Theodore Tremblot Mar 29 '17 at 19:38 -
This is what the terminal sent me:
./genymotion-2.8.1_x64.bin bash: ./genymotion-2.8.1_x64.bin: No such file or directory
– Theodore Tremblot Mar 29 '17 at 19:39 -
genymotion-2.8.1_x64.bin
prior to running the command or provide the/full/path/genymotion-2.8.1_x64.bin
prior to yourchmod u+x
– Elder Geek Mar 27 '17 at 17:34/full/path/genymotion-2.8.1_x64.bin chmod u+x genymotion-2.8.1_x64.bin
? – Theodore Tremblot Mar 27 '17 at 18:33