Select Page

How to install Linux/Minecraft on a Chromebook (2016/2017)

How to install Linux/Minecraft on a Chromebook (2016/2017)
7 min read

A few years ago, we showed you a method on how to install Minecraft, and at the same time, Linux, on a Chromebook. By their nature, Chromebooks aren’t capable of some things that Linux is, like Minecraft. Many parents or families buy these low-cost machines with the hope their children can play Minecraft on the machine, only to find out that they can’t. Others many be looking to do photo editing or run certain programs on the machine, only to find out they can’t. So, if you have a Chromebook and want it to be capable of a few more things, let’s take a look at how to install Linux and Minecraft on just about any Chromebook.

You do this at your own risk. We are not responsible for any damage to your machine. Please read this entire tutorial once before attempting it yourself. This may not work on all Chromebook models and may vary as time goes forward. This method WILL WIPE YOUR FILES and DOES NOT work on ARM powered devices (Intel only).

Installing Linux/Minecraft

The first step is to place the Chromebook in developer mode. For most Chromebooks, that means you’ll need to hit ESC + Refresh (F3) + Power. Pressing those three buttons will immediately reboot and you should see a screen that says “Chrome OS is missing or damaged.” To move on from here, hit CTRL + D. The Chromebook will ask you if you would like to transition to developer mode, which we do, so you’ll need to press Enter. At the next screen, hit CTRL + D once again and the Chromebook will transition to developer mode. Note: This process will take several minutes.

After the Chromebook has transitioned to developer mode, you’ll boot up to see a warning screen each time you boot up the Chromebook. This screen will automatically go away after 30 seconds, or you can hit CTRL + D to skip it. Note: Hitting the spacebar will wipe your files and factory reset the Chromebook. 

Now, we’ll move on to the fun stuff. There are several different methods of installing Linux on a Chromebook, but the two most popular are ChrUbuntu and Crouton. ChrUbuntu (what we’re using in this tutorial) works as a traditional dual-boot system, asking you which OS you’d like to enter at boot. Crouton, on the other hand, runs alongside Chrome OS. We will cover this method at a later date.

After ensuring your Chromebook is in developer mode, the first step to install ChrUbuntu is to open the ChromeOS Terminal. You can do so by pressing CTRL + ALT + T. After the new tab opens, enter shell.

Before moving on, we’ll need to update the firmware. If you have a Chromebook released within a year, you can probably skip this step, but it’s a good practice for any Chromebook. Note: If you are attempting this on an ARM powered device, stop immediately. This step WILL damage your device.

In a command window, enter shell followed by the command cd; curl -L -O && sudo bash and press enter. Note: -Os is a capital O, not a zero. Then hit 1 to update the firmware and enter to apply the update. It will ask if you want to default to booting from USB, in this case we do not want to do that, so hit N and Enter. More information on this process is available here. Once installation is complete, press Enter to return to the main menu, then R to reboot the Chromebook.

From here, we’ll install ChrUbuntu. To do that, open up another command window, enter shell, and type the following command: cd ; curl -Os && sh goNote: -Os is a capital O, not a zero.

After that command is entered correctly, the chrx installer will check the information on your machine to ensure it will work with Linux. Proceed with caution if your Chromebook is unlikely to successfully install. From here, the installer will ask the about of data should be allotted for Linux. Use this to your discretion, we would recommend at least 6GB. Once you have entered that information and pressed enter, the Chromebook will reboot again, this time with a modified partition. This will clear your data again. This process may take up to 30 minutes depending on the amount of storage your Chromebook has.

After the machine reboots, you will need to repeat some of the previous steps, starting with the chrx installer. Once your Chromebook boots up and you connect it to wifi, hit CTRL + ALT + T, then enter shell. After that, type cd ; curl -Os && sh go.

This time, the installer will actually install Linux on the machine. This includes downloading files to grab the OS which can take several minutes depending on your internet connection. By default, GalliumOS will be installed. After files have downloaded, installation will begin which can take several minutes as well. Once complete, hit enter to reboot.

After installation is complete, the Chromebook will reboot to the warning screen. To boot into Chrome OS, hit CTRL + D. To boot into Linux, hit CTRL + L. This will be available anytime you boot up the machine. In this case, we will boot into LinuxNote: You may see a mostly black screen after hitting CTRL + L. If you do, hit Enter on “Ubuntu” to launch Gallium OS.

GalliumOS will start up and ask you for a username and password. The default username is chrx and the default password is chrx. It is recommended but not required to change this. The first thing you’ll need to do in GalliumOS is enter your wifi information as seen in the video.

If you want to install Minecraft, one more step is required. Open up a command window (terminal app, as shown in the video) and type in the following commands in order. Note: Up to a few minutes may pass between steps. Press enter after each command.

First, sudo bash. After pressing enter, you should have root now. Then, type in the following command:

apt-get install default-jre

Type Y and hit enter.

Then type the following commands, pressing enter after each command.

curl -o /usr/local/bin/Minecraft.jar
curl -o /usr/share/pixmaps/minecraft.png
mkdir -p /usr/local/share/applications
cat > /usr/local/share/applications/minecraft.desktop <<EOF
[Desktop Entry]
Exec=java -jar /usr/local/bin/Minecraft.jar

After this has been completed, you can close the command window. You can then click the “start menu” and type in “Minecraft.” You should immediately see the Minecraft icon and name and it should be highlighted. If so, press enter and the game will launch. After that, you’re done! Minecraft has been installed as has Linux via GalliumOS. From here, you can also install other Linux programs such as GIMP photo editor.

Installing Other Popular Programs

GalliumOS can also handle other popular programs. To install them, enter the commands below in a command window.

– Steam

curl -O
sudo dpkg -i steam_latest.deb

– Spotify

sudo apt-key adv --keyserver hkp:// --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886
echo deb stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update
sudo apt-get install spotify-client

– Kodi

sudo apt-get install python-software-properties pkg-config software-properties-common
sudo add-apt-repository -y ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install kodi

– Google Chrome

curl -O
sudo apt install ./google-chrome-stable_current_amd64.deb

Restoring Your Chromebook Back To Factory Settings

If you’re done with Linux and want your Chromebook to be a Chromebook, all you’ll need is a charged battery, a few minutes, and a flash drive. By following Google’s instructions, you can turn a flash drive into a recovery disk which will format your SSD and reinstall Chrome OS. After the process is complete, everything will be back to when you originally bought the machine.

Chrome OS Restore Instructions

About The Author

Andrew Romero

Andrew is a reviewer and YouTube host for YourTechExplained. Always willing to learn more, he strives to make content easier to swallow for viewers and readers.


  1. Soaryn Eagle

    What do i do after hitting ENTER on this ” [sudo] password for chrx:” I dont get ROOT

    • Kierree Kalmansohn

      You type in chrx (it will be invisible) ,then press enter

  2. Jacob lindenmeyer

    Im having trouble with the “apt-get install default-jre”. it just say “Unable to locate package defualt-jre”. Please help if you can. Thanks

  3. jojo

    thanks for this it really helped, but is there other programs we can use then the ones shown in the article?

  4. jimmy

    How can we change the user name and password

  5. Sardor Shaahmedov

    just installed Gallium OS on my Acer chrombook 14 using instructions in this video and the chromebook’s keyboard stoped working, touchpad is functioning. Any ideas how to fix keyboard inside Linux? It is still functioning in chrome OS.

  6. emojifacegaming

    when i tried this i did every thing correctly i have an intel pentium on my asus c202sa chrome book and when i got to the step where you press ctrl + L i saw a gallium os image then it loaded some text for a frame and then after that i waited about 10 – 15 seconds and the text popped up for a frame again and it did the same thing over and over so i tried turning off the chrome book and then turning it back on i pressed ctrl + L and the same thing happened again i did the same thing two more times and then finally just did everything over again…… this changed nothing and its still doing it as i type this on another computer PLZ HELP =(

  7. Questionaire

    When your supposed to do “CNTRL + L” in the ‘warning’ page, i makes his beeping sound every time I do so. I tried downloading GalliumOS twice and still nothing. Please help.

    • jojo

      yeah that happened to me, what i did was that i did a hard reset and did every thing all over. Try that and see if this works.

  8. Tay

    I did all the steps and when it entered into galliumos page it wants wont let me enter the other parts after sudo bash because it needs a password what do I do

  9. Adam

    I was able to successfully create a linux OS using this tutorial. It seems I should have allocated more gigabytes to the linux side. Is this possible, and without having to erase everything I already downloaded on linux?

  10. Toby Chick

    It installed successfully but the only problem is that I have no sound in linux. The sound works fine in chrome os but not in linux. pls help

  11. Kizaiah Goodwin

    how do i delete it????? please reply

    • ItsLightningBolt

      If you’re done playing with Linux, you can boot your chromebook into recovery like you did at the beginning of this tutorial. Follow Google’s instructions on how to turn a flash drive into a recovery drive.

  12. Sam Killam

    I did it all fine until the last part where it says press CTRL + L to launch Lunix this it just beeps twice and nothing happens.

    • ItsLightningBolt

      Did you use the crouton method or the ChrUbuntu method?
      If you used crouton the CTRL + D to launch into developer mode, and if you used ChrUbuntu then I’m not sure what’s happened, as I’ve only used the crouton method. Sorry.

  13. Ahmed Muhammad

    Everything is working fine but I’m just not sure what to put of desktop. Do I put [Desktop Entry]? Linux? Chrome?

    • ItsLightningBolt

      If you don’t care which one you get then don’t specify one.

  14. Candace

    There was only one problem with me… when i went to enter the ‘sudo bash’ it wouldn’t let me enter the password…can you please help? I really want minecraft on my chromebook!

    • AreUDumb

      you type chrx for the password! The password shouldn’t show!

    • ItsLightningBolt

      I freaked out when I was typing and the password wasnt showing. This is a security thing, and it DOES enter the password, it just won’t show the characters.

  15. KC Younkin

    Hi, it all went well until we went to open Minecraft and we got this message: ‘Failed to execute command “Java – jar /usr/local/bin/Minecraft.jar” — “Failed to execute child process “java” (no such file or directory. So we downloaded Java and retyped the code but it is giving us the same error message. Do you think we downloaded the wrong version of Java? Thanks!

  16. Patrick Crump (Paddy Studios)

    I downloaded Gallium OS and Minecraft alright but when I tried to install Optifine it said it wasn’t executable, so I went onto properties and permissons but there wasn’t an option to marks as executable, Please Help.

    • Queen Iwa

      sudo chmod +x /home/chrx/Desktop/ (Optifine filename)

      if its on ur desktop

  17. Dee Dee

    This worked great. Thank you. The school was selling used chromebooks cheap and I followed your instructions. This has saved tons of arguing between my boys. My only issue is that if the boys let the chromebook battery drain then getting back into the linux partition is difficult b/c it came out of developer mode on startup. I have been reading about setting “boot flags” to keep the chromebook permanently in developer mode but it is way over my head and not sure if I could apply it to what I have installed via your instructions. Do you have instructions that I could follow to do this that works with your installation method? Thank you again!!

  18. SheaDoubleAA

    Only problem im having is when it says press CTRL-L when i do it it just beeps twice so i wait then it brings me back to regular chrome os please help/reply

    • Charles DeLancey

      re-install the OS

  19. Help


    • Obsession_of_Anime

      What do you mean powerwash o_o?

  20. HelpNewbies

    you have to powerwash first lol

    • Obsession_of_Anime

      What do you mean power wash??

  21. zach

    everything is done but it won’t let me play when i click on the icon nothing happens?

    • TB

      Same thing with me. Any luck?

  22. Aaron Whiteaker

    I got this installed last night and it worked like a charm. I’m am having one problem though, no sound working on linux, it works just fine on chrome. I have an asus C302CA. Anybody have a fix for this issue?

  23. Huby

    ” Failed to execute child process java -jar” when I start Minecraft?

    • Noah Charles


  24. Mik

    How can I increase the disk space?

    • Mwanze _101

      i want to know the same thing

  25. Allan

    What do i do if it says

    bash: /usr/local/share/application/minecraft.desktop: Is a directory

    • MAD Sisters

      Did you ever get an answer to this? I have the same problem.

  26. Mwanze _101

    How do you put more space on your disk?

  27. Przemek

    I cannot open files with exe or anything like that. How can I change that permission thing ?

    • Guest

      Mark the file as ‘executable’ by right clicking it and choosing ‘executable’

  28. Arc

    I entered the code to download minecraft correctly but when I search for it, it doesn’t show up. what do I do?

    • Sarah

      Same! Did you ever find a solution?

    • Josh

      Same here

  29. Jayden Vincent

    It wont show up at the start button when I typed it in. HELP!

    • Sarah

      Same! Did you ever find the solution?

  30. Arc

    I did it but it says there is no such file or directory as /usr/local/share/applications/minecraft.desktop

  31. Jayden Vincent

    GUYS I FIGURED IT OUT! Turn Chrome Os back on and restart the whole process. Then it works like a charm! #brainpower

  32. Decon Brower

    I went through and did the entire process. It seemed like it worked fine. Then after all the installation was done I hit enter as it said. My Chromebook rebooted and whenever I hit CTRL-L it just beeps 2 times. Any suggestions on how to fix this?

  33. Sam Camacho

    I did these steps but once I pressed ctr+L after reboot, it would keep flashing some words but would start up galliumOS, so I started up on chromeOS and power washed my computer but now I only have 1.5 GB instead of 10GB. And when I tried rebooting and pressing CTRL+L after I power washed it just beeps twice. plz help?

    • Sam Camacho

      I meant it WOULDNT start up galliumOS

    • Decon Brower

      I’m having the exact same problem

  34. Scott Greenfield

    I went through all these steps and it worked great. Was able to boot up into GalliumOS and play Minecraft and switch back to Chrome after rebooting. Next day and now Chrome is auto booting. Can only get warning screen by going into developer mode, and then CTRL+L doesn’t do anything. Can’t get back into GalliumOS. Please help.

  35. jon

    i did everything and when i type minecraft and click it-it does nothing. Plus, when i try and download it from the website it opens a window titled “Blocked: /use/bin/java-jar” and it says “The file ‘/home/chrx/Downloads/Minecraft.jar’ is not marked as executable. If this was downloaded or copied from an untreated source, it may be dangerous to run. For more details, read about the executable big.” Anyone else getting this? If so, if you have figured out how to make it executable, please answer.

    • Sarah

      Did you ever figure this out? Same problem for me…

  36. qunard

    is there a way to download unity on linux

  37. qunrad

    is there a way to download hearthstone?

  38. yollogoy

    I recommend you dont do this unless yor litterally dribbling for a minecraft. But it really does work it just does alot of damage to you computer and takes a long time.


  1. Bookmarks for June 20th through June 21st | Chris's Digital Detritus - […] How to install Linux/Minecraft on a Chromebook (2016/2017) – […]