How to Install Genymotion on Ubuntu 20.4.1

To Install Genymotion on Ubuntu 20.4.1

Introduction:

Genymotion is one of the easiest and the most popular Android Emulator to Run/Debug your android application. The Android developer uses Genymotion at the time of application development that is used to test your application on your device.

Installation Process:

Check the Os version by using the following command

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Release:	20.04
Codename:	focal

Install Virtual Box using the following command

root@linuxhelp:~# apt-get install virtualbox -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.4.0-42 linux-headers-5.4.0-42-generic linux-headers-5.4.0-52 linux-headers-5.4.0-52-generic
  linux-image-5.4.0-42-generic linux-image-5.4.0-52-generic linux-modules-5.4.0-42-generic linux-modules-5.4.0-52-generic
  linux-modules-extra-5.4.0-42-generic linux-modules-extra-5.4.0-52-generic
Use 'sudo apt autoremove' to remove them.
.
.
.

Download the Genymotion Linux package using this following URL https://www.genymotion.com/download/ switch the Downloaded directory

root@linuxhelp:~# cd /home/netaxis/Downloads/

list the directory:

root@linuxhelp:/home/netaxis/Downloads# ls -la
total 39616
drwxr-xr-x  2 netaxis netaxis     4096 Dec 16 17:33 .
drwxr-xr-x 15 netaxis netaxis     4096 Nov  6 13:47 ..
-rw-rw-r--  1 netaxis netaxis 40553630 Dec 16 17:33 genymotion-3.1.2-linux_x64.bin

After downloading a file, give a executable file permission for the file as follows

root@linuxhelp:/home/netaxis/Downloads# chmod +x genymotion-3.1.2-linux_x64.bin 

Install a Genymotion application

root@linuxhelp:/home/netaxis/Downloads# ./genymotion-3.1.2-linux_x64.bin 
Installing for all users.
Installing to folder [/opt/genymobile/genymotion]. Are you sure [y/n] ? y
- Trying to find VirtualBox toolset .................... OK (Valid version of VirtualBox found: 6.1.10_Ubuntur138449)
- Extracting files ..................................... OK (Extract into: [/opt/genymobile/genymotion])
- Installing launcher icon ............................. OK
Installation done successfully.
You can now use these tools from [/opt/genymobile/genymotion]:
 - genymotion
 - genymotion-shell
 - gmtool

After the installation, you can access the application from the menu as follows sign in to the Genymotion application Select the License. Accept the Agreement. Add the device

Choose the Virtual device and Configure The Virtual device is being downloading Genymotion application. With this, the method of the installation on Genymotion on Ubuntu comes to an end.

FAQ
Q
Does it comes with a manual update?
A
Yes it has a manual as well as you can enable automatic updates too.
Q
How can I establish a TCP session to my virtual device?
A
ADB forwards the packets to the virtual device for you, to establish a TCP session to your virtual device, you must set up port forwarding with ADB forward tcp:
Q
How to remove Genymotion Qt library files, in the Genymotion directory?
A
To remove Genymotion Qt library files, in the Genymotion director use " rm libQt* ".
Q
Why can't we start the Genymotion remotely? What are the tools used for accessing it remotely?
A
TightVNC on Windows, macOS screen sharing, and x11vnc on Linux. (Tools support remote control)
Q
How to start the installer?
A
Check its integrity by using "sha1sum/genymotion-.bin"