Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 24, 2022 10:51 am GMT

How to Install Genymotion & VirtualBox on Parrot OS

I've recently dived into the world of "hacking". No, not the type of advanced hacking that you see in Watch Dogs or Mr. Robot, because I am a super noob/skiddie, and let's be honest, cybersecurity is vast and difficult to get started in. So I thought, why don't I document my progress or learning milestones by helping others with simple things whilst I climb the ranks from skiddie to "I now know how to not breakdown every time I use Burp Suite".

Mr Robot Crying

When you're ready, grab your closest Red Bull and your favorite cool-guy shades, and let's dive into this tutorial on how to install Genymotion & VirtualBox on Parrot OS.

First, let's discuss why we would use Genymotion, and what VirtualBox is for. Genymotion is an Android emulator, meaning it emulates a mobile device via a VirtualBox (which allows us to run the Android OS on our operating systems). This emulation allows us to access real-time Android capabilities such as using the browser, downloading apps via the Play Store, or accessing the front/back camera - as we would with our actual device. We use device emulators for a variety of things, such as testing our Android apps that we made, or for android pen-testing. Now, a better method to test our apps is to use a rooted android device, and this requires a physical device, but that's a tutorial on its own.

Now that we know what Genymotion and Virtualbox are used for, we can move on to the actual tutorial. Start up your Parrot OS system and open up your browser. Let's first download Genymotion.

Genymotion Installation

First, we need to go to the Genymotion site and create an account. You need this account to be able to download and use Genymotion (obviously), so make sure you do that first. When you have done that, go to the following link and download the Linux (64-bit) version.

Genymotion Desktop Download

Once you have installed it, it will be in your Downloads folder. Open up your terminal using CTRL + ALT + T and let's cd into it.

Terminal Genymotion Terminal Genymotion

When we list all our files in our Downloads directory we can see that the Genymotion download file is there, but it is not accessible as we cannot execute it. Remember, if you start typing the name of a file and press TAB, it will autofill, so save time using this.

Terminal Genymotion

To change the file into an executable we use the command chmod +x and the filename. The chmod +x command adds x permission to a file or folder to change the file permission, thus making it executable.

Terminal Genymotion

Once we have changed it into an executable, we can now list all directories again and we can see that we have a new file that is now executable!

Terminal Genymotion

Let's now install our Genymotion. To do this we simply say ./filename, which will be Genymotion. This will run the executable, and the installation will run.

erminal Genymotion

Now that Genymotion is installed, we can open it up in our Applications Menu underneath Programming. Click on it, and it will open, but oops, we get an error! This is where Virtbualbox comes in.

Terminal Genymotion

VirtualBox Installation

To be able to use Genymotion, we need to install VirtualBox. Go to the following link, and download the relevant VirtualBox. I installed the Debian 11 version.

Terminal VirtualBox

Once it is installed, we need to move it to our Downloads folder to make things easier. To do this, just click on the folder icon in your Download history, and from there on move it to your Downloads.

Terminal VirtualBox Terminal VirtualBox

Next, open up a new terminal using CTRL + ALT + T, and then you need to cd into your Downloads folder, just as before. From there on you need to run the sudo apt-get update command as stated in the documentation.

Terminal VirtualBox Terminal VirtualBox

After you have run the update command, then we can install Virtualbox using the sudo apt install virtualbox command.

Terminal VirtualBox Terminal VirtualBox

Voila, you have installed VirtualBox, and when we open up Genymotion again we can now see that it is working!

Genymotion Setup

Genymotion Setup

Now that Genymotion and VirtualBox are installed, we can now sign in and get our first virtual device up and running.

Genymotion SetupGenymotion SetupGenymotion SetupGenymotion SetupGenymotion SetupGenymotion SetupGenymotion Setup

Okay, that's a wrap. I hope that this tutorial helped you, and was not too complex. See ya' next time!

(You can pull this post from my GitHub for future use)


Original Link: https://dev.to/christinecdev/how-to-install-genymotion-virtualbox-on-parrot-os-287p

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To