Step 1: Go to your downloads folder where you've downloaded the genymotion installer. (The installer filename is something like "genymotion-3.2.1-linux_x64.bin".)
Step 2: Right click on the directory and click "Open in Terminal".
Step 3: In terminal type the following command to uninstall genymotion:
sudo ./genymotion-3.2.1-linux_x64.bin -d {install path} --uninstall
Note: The installer version may vary; change it according to the version you've installed. The install path in my case was:
/opt/genymobile/
Replace the install path if you've installed it in some other directory.
The full command, in my case, looked like this:
sudo ./genymotion-3.2.1-linux_x64.bin -d /opt/genymobile/ --uninstall
Step 4: To delete the genymobile configuration file from your home folder, open terminal and type the following commands:
cd
sudo rm -r .Genymobile/
Step 5: Eventually, if you want to completely remove virtualbox and its configuration files type the following command in terminal:
sudo apt purge virtualbox
Reference video: https://www.youtube.com/watch?v=0Xh3om4Qfqg&ab_channel=TiwoSatriatama