DEV Community

Cover image for Easiest way to install Android OS via Linux. No Grub fiddling!
Gautham Prakash
Gautham Prakash

Posted on • Updated on

Easiest way to install Android OS via Linux. No Grub fiddling!

Let's get to business right away. We will be installing an android fork from https://www.android-x86.org/

Step 1 - Download the Android x86 rpm file

Download either of 32bit or 64bit .rpm package of android-x86 from https://www.android-x86.org/download.html

rpm-ref

Note : Step 2 is not applicable for (Fedora/Red Hat/CentOS/SUSE) users since rpm package can be installed in those by default. Skip on to Step 3

Step 2 - Installing alien package

Install alien package for your linux distro. 'Alien' is a computer program that converts different Linux package distribution file formats. It supports conversion between Linux Standard Base, RPM, deb, Stampede (.slp) and Slackware (tgz) packages.

  • Ubuntu/ LinuxMint/ Debian users can do


sudo apt install alien


Enter fullscreen mode Exit fullscreen mode

Step 3 - Installing the Android x86 rpm file.

Note :The installation may take around 3-5 minutes depending upon the read/ write speeds.

For (Fedora/Red Hat/CentOS/SUSE) users, as you all know run:



sudo rpm -ivh android-x86-version.rpm


Enter fullscreen mode Exit fullscreen mode

For (Ubuntu/Debian/Linux mint) users, run:



sudo alien -ci android-x86-version.rpm


Enter fullscreen mode Exit fullscreen mode

Volรก! ๐Ÿคฉ Now you are ready with android x86 desktop O.S.
Reboot and you will see a boot entry with Android x86 tag. If it doesn't show up, just change the grub timeout using Grub Customizer or manually press Esc while booting up to show boot entries.

desktop

Note :

  • Do remember to enable Native Bridge from android settings to enjoy android desktop to the prime.
  • You could launch the installed Android-x86 in a QEMU virtual machine if needed.
  • To uninstall the O.S files and boot entry. Use the usual package uninstalling method of you distribution.

Enjoy your day ๐Ÿ’–.

Top comments (8)

Collapse
 
avishekbin profile image
Avishek-bin

Hello, i want to install primeos in my ubuntu 20.04 . I have dell vostro 3480 ...
I saw a post from fosslicious and tried but it all lasted with with a black screen while booting it also i have install the grub2 please help....

Collapse
 
kubryck profile image
franklothbrock

Hello there! Awesome. I tried the live version of Android on my PC desktop with a pendrive. it works, but I don't know how to connect it to the internet (my desktop is connected with an ethernet cable, not wifi). In the Android-x86 menu I can see only WIFI options. Is it possible to fix that somehow? (maybe it will be different once installed?). Thank you.

Collapse
 
amcsng profile image
Alexandre de Moraes

Thank you so much.
Regards

Collapse
 
ovchinnikovdev profile image
Konstantin

Thanks! Helpful

Collapse
 
e_soeprihno profile image
Amo Lutalica

I just install it and trying, but I can't use mousepad.

Collapse
 
paff2609 profile image
Siesta

hi
"File "android-x86-version.rpm" not found" this happened after i used
"sudo rpm -ivh android-x86-version.rpm"
I'm just start using linux today, can you help me

Collapse
 
binit profile image
Binit Ghimire

Hello @paff2609 , you can try going inside the directory which contains your downloaded file, and then run the following inside it:

sudo rpm -ivh *.rpm
Enter fullscreen mode Exit fullscreen mode

This command will help you out in resolving the error you are facing.

Collapse
 
aogo profile image
amal

This is exactly as the title said, easiest! Although I can't seem for find the way to uninstall. It is not listed in my package manager.