RSS

Install Genymotion In Ubuntu

29 May

Genymotion is a great virtual machine, especially for emulating Android VMs.

In my earlier post, I have shown how to emulate Nexus 10 using Genymotion.

image

Recently, I need to do the same work in Ubunut, and found this post very useful to guide me in installation of Genymotion in Ubuntu. Below is from the post by Gregory Schier:


  1. Download the Ubuntu installer from the Genymotion website
  2. Download and install the latest Virtualbox if you haven’t already
  3. Open your terminal of choice
  4. Run the following commands to install and set up Genymotion
  5. # Make the file executable $ chmod +x genymotion-2.0.0_x64.bin # Run the installer $ ./genymotion-2.0.0_x64.bin # Move the installed directory to your home folder $ mv genymotion ~/.genymotion # Add executables to your path $ echo ‘export PATH=”/home/$USER/.genymotion:$PATH”‘ >> ~/.bashrc

  # Make the file executable
  $ chmod +x genymotion-2.0.0_x64.bin

  # Run the installer
  $ ./genymotion-2.0.0_x64.bin

  # Move the installed directory to your home folder
  $ mv genymotion ~/.genymotion

  # Add executables to your path
  $ echo 'export PATH="/home/$USER/.genymotion:$PATH"' >> ~/.bashrc

And that’s it! Simply restart your terminal and you should now be able to run genymotion and genymotion-shell from your terminal.


This is almost the true, but I would like to point out that the correct way to run genymotion is :

source ~/.bashrc
genymotion

Otherwise, you will encounter the same problem as Oleg said:

“Hi guys. I don’t know why it’s happens but it’s not working for me. I’ll install it and now when I try start genymotion I got genymotion: command not found

An alternative way to run genymotion, yet without adding the path to .bashrc is:

cd ~/.genymotion/
./genymotion

image

Great thanks go to Gregory Schier’s original post!

Advertisements
 
1 Comment

Posted by on May 29, 2014 in Android, Linux, Programming

 

Tags: , , , , , , , , , , , , ,

One response to “Install Genymotion In Ubuntu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: