Luca Ciavatta: How to install and run Genymotion emulator on Fedora 25

Genymotion Android emulator for all

Genymotion is an Android emulator based on Virtualbox, but it also doesn’t require you to install Virtualbox as it is bundled with the installer. It can emulate specific devices and allows you to install/run/test apps on it, which makes it great for you to use to easily showcase apps on my PC, project them on a wide screen, make perfect screencasts at full speed to show the best of them. Genymotion is a really very fast Android emulator and since Virtualbox is cross-platform compatible, Genymotion will work in Windows, Mac and Linux too.

Genymotion download

Genymotion is free for personal use, so you can download it from the official site and start playing with it. First of all, for Fedora users, on the site there are no RPM download provided, no repositories, nothing for Fedora based distro. Fortunately, the file available on the site are generic .bin and not debian-based.

How to install and run it on Fedora 25

Starting from comments on my previous article How to install Genymotion emulator on Fedora, I found that a lot of people have many issues on install Genymotion over the latest version of Fedora. So, I decided to make a fresh install of Fedora 25 into a virtual machine and to try installing the emulator on it.

To get started, you must go to Genymotion website and register a user account. You will be able to download the files after the registration process.

Go to Genymotion register page, fill all the fields with your personal information and sign up. After that, you will receive a validation e-mail, so click on the validation link to finish the registration process. If you have completed that, you’re able to sign-in in the Genymotion website, to go to the download page and to download the appropriate file for your architecture. It’s a generic Linux .bin file, so you can use it also on Fedora systems(only 64 bit).

Genymotion launch

After, we need some tweaks (maybe they are not necessary for your system).
Install Virtualization Group, dkms and dependencies:

  sudo dnf groupinstall "Virtualization"
  sudo dnf install dkms kernel-devel kernel-headers

Install VirtualBox from Oracle website, so download the right version from Download VirtualBox for Linux Hosts. Just click on a Fedora 25 link and press install on Gnome Software. After that, remember to download and install the VirtualBox Extension Pack. Only to double click on it after the download. Easy, easy!

Genymotion emulator

Now, we can install properly Genymotion:

cd /home/user/Downloads
sudo mv genymotion-version-ubuntu16_x64.bin /opt ;#version depends on your download
cd /opt
sudo chmod +x genymotion-version-ubuntu16_x64.bin ;#make the bin executable
sudo ./genymotion-version-ubuntu16_x64.bin ;#install for all users - without 'sudo' install only for current user

Make a couple of tweaks for Fedora 25:

cd /opt/genymobile/genymotion/
sudo mv libxcb.so.1 libxcb.so.1.bak
sudo mv libdrm.so.2 libdrm.so.2.bak

Follow the instructions of the installer and, finally, start GenyMotion and play with it:

cd /opt/genymobile/genymotion/ ;# just if you moved away
./genymotion

You can also make a .desktop file to launch it with the icon.


Source From: fedoraplanet.org.
Original article title: Luca Ciavatta: How to install and run Genymotion emulator on Fedora 25.
This full article can be read at: Luca Ciavatta: How to install and run Genymotion emulator on Fedora 25.

Advertisement


Random Article You May Like

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*