Simple Steps to Install Linux on Your Chromebook
This article was co-authored by wikiHow staff writer, Darlene Antonelli, MA. Darlene Antonelli is a Technology Writer and Editor for wikiHow. Darlene has experience teaching college courses, writing technology-related articles, and working hands-on in the technology field. She earned an MA in Writing from Rowan University in 2012 and wrote her thesis on online communities and the personalities curated in such communities.
This article has been viewed 39,631 times.
Installing Linux on your Chromebook will allow you to access and use Linux-based programs that aren’t readily available on Chrome OS. On your Chromebook, you can install a Ubuntu distribution of Linux using a tool called crouton, which will allow you to run Linux on top of Chrome and switch back and forth between the two operating systems at any time.
- Get your Chromebook into Recovery Mode, then press «Ctrl + D» to enter Developer Mode.
- Download crouton to install Linux.
- Use the code to install crouton and Ubuntu.
Verify that all your local data has been saved to Google Drive or to another form of storage, such as a USB flash drive. Installing Linux on your Chromebook will erase and wipe all local data.
Press and hold down the Esc + Refresh keys, then press the Power button. Your Chromebook will reboot and enter into Recovery Mode.
Press Ctrl + D when the yellow exclamation point displays on-screen. A dialog box will display on-screen and ask you to confirm that you want to enter Developer Mode.
- Wait for your Chromebook to fully reboot into Chrome OS. The screen will display a warning as it reboots that informs you that Chrome OS is missing or damaged, but this is normal when entering Developer Mode.
- Alternately, you can visit crouton’s site directly at https://github.com/dnschneid/crouton and click on the link to the right of “Chromium OS Universal Chroot Environment.”
Press Ctrl + Alt + T . This keyboard shortcut will bring up a crosh terminal in the Chrome web browser on your Chromebook.
Type “shell” into the terminal and press ↵ Enter . Usually, the terminal doesn’t support Linux commands on OS, like «cd» or «ls,» but you can run shell scripts with the shell command. [1] X Research source
- Type “sudo sh ~/Downloads/crouton -t touch,xfce” if you are installing Linux on a Chromebook Pixel or a Chromebook with a touchscreen.
- If you want to use encryption with crouton (a variation that’s a little more demanding for your Chromebook), use the parameter «e,» so your code would look like «sudo sh -e ~/Downloads/crouton -t xfce» .
- There are other versions available as well, including -t unity and -t gnome, which may take up more or less space on your Chromebook; research which you prefer, but «xfce» is suggested for a lightweight installation. [2] X Research source
- Ubuntu Linux will run alongside Chrome OS, so you can switch between each OS at any time. To switch back and forth between Ubuntu and Chrome, press Ctrl + Alt + Shift + Back and Ctrl + Alt + Shift + Forward.
Community Q&A
Yes, but depending on the kind of USB you are using it might delete the files after use. You should be able to save the information on the USB, so it should remain on there.
Thanks! We’re glad this was helpful.
Thank you for your feedback.
As a small thank you, we’d like to offer you a $30 gift card (valid at GoNift.com). Use it to try out great new products and services nationwide without paying full price—wine, food delivery, clothing and more. Enjoy! Claim Your Gift If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow
Create recovery media for your Chromebook prior to installing Linux in the event you experience difficulties or software malfunctions during the installation process. You can use the recovery media at any time to restore your Chromebook back to its original factory settings. [4] X Research source
To uninstall Ubuntu, you can press the Spacebar at the «OS verification is off» screen when booting and re-enable OS verification, which will turn off developer mode and erase all local data including the Ubuntu installation.
You Might Also Like
Install iTunes on a Chromebook: Simple Step-by-Step Tutorial
2 Easy Ways to Enable USB Booting on Chromebook
How to Change Password on Chromebook: Reset & Recover
How to Sync and Transfer Files from One Chromebook to Another
3 Quick Ways to Use Emoji on Your Chromebook
16 Ways to Fix the Mic Not Working on Chromebook
Easy Keyboard Shortcuts to Disable a Chromebook Touch Screen
How to Switch Cameras on a Chromebook
Where is the Search Key on Chromebook? A Keyboard Guide
2 Simple Methods for Rotating a Chromebook Screen
How to Install Linux on Chromebook
When Chromebooks were first released, their principal customers were Internet enthusiasts who fancied the idea of using majorly web applications on Google’s Operating System for PCs. While Chrome OS is capable of running virtually any Android application, there are some tasks that are better completed on a Linux distro e.g. Darktable and GIMP.
We covered an alternative Linux-centric App Stores to Google Play for Chrome OS not too long ago and today, I’ll show you the easiest way to install Linux (specifically, Ubuntu) on your Chromebook and switch between the OSes at your will with easy-to-remember shortcuts.
1. Getting Started
There are at least two recommendable methods of installing Linux on Chromebooks but my preference is using Crouton – a tool that uses the chroot command to run Linux distros on top Chrome OS without the need to reboot the system.
- Backup all your personal files because entering developer mode for the first time will wipe them together with your system data.
- Create a recovery image of your system so you can restore it if things go sideways (but they wouldn’t).
- Download Crouton from GitHub and save it to an external storage device. If you don’t have one then download it after you enable developer mode.
2. Switching on Developer Mode
- Enter recovery mode by pressing and holding the Esc key, Refresh key, and Power button together.
- When in recovery mode, press Ctrl+D turn on developer mode.
- Press Enter and wait for your system to reboot. This will take 15 – 20 minutes.
You will see an exclamation mark alongside a message that OS verification is off and a prompt to re-enable it. Ignore it and wait for your PC to reboot into Chrome OS.
3. Installing Crouton
1. Download Crouton from GitHub if you didn’t earlier on and save it in your download folder.
2. Launch your terminal and run the command:
3. Next, install crouton with the command:
$ sudo sh -e ~/Downloads/crouton -t xfce
If you’re using the Crouton Integration extension then use this command instead:
$ sudo sh ~/Downloads/crouton -t xiwi,xfce
If your PC is a Chromebook Pixel, Asus Flip Book, or touchscreen then change «xiwi» to «touch» like so:
$ sudo sh ~/Downloads/crouton -t touch,xfce
Enter your username and password when Crouton is done installing.
Run the following command to start Ubuntu:
Instead of Xfce, you can install Crouton with LXDE, KDE, or any other Desktop Environment and the instructions are available in Crouton’s GitHub page.
4. Perfecting Your DE
The commands to switch back and forth between Chrome OS and Ubuntu are:
- Ctrl+Alt+Shift+Back and Ctrl+Alt+Shift+Forward on ARM-based Chromebooks.
- Ctrl+Alt+Back and Ctrl+Alt+Back on Intel-based Chromebooks.
This Ubuntu version doesn’t come with its complete list of essential apps so you need to install them yourself with the following commands:
$ sudo apt-get update $ sudo apt-get install bash-completion ttf-ubuntu-font-family software-center synapti
- If you stick to using Xfce, disable its screensaver to avoid Chrome OS graphic issues.
- Skip the developer mode message with Ctrl+D .
- The downloads folder is shared between both Operating Systems.
5. Removing Linux from Chromebook
This one is easy. Press the spacebar while rebooting your system and when that exclamation with the re-enable OS verification prompt comes up, hit the space bar. This will uninstall Crouton and restore your Chrome OS to its single original state.
If you would rather use the terminal to remove the Linux installation, run the commands:
$ cd /usr/local/chroots $ sudo delete-chroot * $ sudo rm -rf /usr/local/bin
There you have it” A fully functional Ubuntu installation to run alongside ChromeOS that you can switch between with keyboard shortcuts.
Drop your comments, questions, and suggestions in the comments section below.