How To Get Linux On Chromebook

How To Get Linux On Chromebook

Reading time1 min
#Linux#Chromebook#Development#Crostini#Crouton#LinuxInstallation

Mastering Linux Installation on Chromebook: A Step-by-Step Modern Approach

Forget the myth that Chromebooks are for light use only—discover how to leverage their hardware by seamlessly installing Linux to run full-scale development workloads, dev tools, and server environments. Chromebooks are affordable, lightweight, and secure machines with surprisingly capable hardware. However, their native Chrome OS environment limits users who want to run traditional Linux software, custom development tools, or server applications.

In this post, I’ll guide you step-by-step through the modern approach to get Linux running on your Chromebook — unlocking full software flexibility so your device can go from a simple laptop to a powerful development machine.


Why Install Linux on a Chromebook?

Chromebooks are designed with simplicity in mind, running Chrome OS, a lightweight and secure operating system. But this simplicity comes at a cost: the lack of native support for most Linux applications, programming stacks, and development tooling.

Installing Linux means you can:

  • Run full Linux software stacks like editors (VS Code, Vim), runtime environments (Node.js, Python, Ruby), and databases (MySQL, PostgreSQL).
  • Use Linux command-line tools natively, including git, curl, ssh, and even Docker.
  • Customize your system environment without restrictions imposed by Chrome OS.
  • Turn your Chromebook into a portable server or development sandbox.

Step 1: Check Chromebook Compatibility

Before anything else, ensure your Chromebook supports Linux (Crostini):

  • Go to Settings → Linux (Beta)
  • If you see an option to Turn On Linux, your device supports Crostini.
  • Most Chromebooks manufactured after 2018 support it.

If your model does not support Crostini, don’t worry—you can still install Linux using alternative methods, like Crouton or installing a full Linux distribution by enabling developer mode.


Step 2: Enable Linux (Beta) on Chrome OS (Crostini)

The easiest, most modern way to get Linux on Chromebook is through the built-in Linux container called Crostini.

  1. Open Settings.
  2. Find Linux (Beta) on the left-hand menu.
  3. Click Turn On.
  4. Follow the prompts to set up your Linux environment, allocating disk space and setting your username.
  5. A terminal window will launch when completed.

Example:

sudo apt update && sudo apt upgrade

(Always update your Linux container once installed.)


Step 3: Installing Development Tools

Now that you have a Linux terminal, install the tools you need.

Example: Installing Git and Node.js

sudo apt install git
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt install nodejs

Verify installations:

git --version
node -v
npm -v

You can also install editors like VS Code via .deb packages or use Linux terminal editors like Vim and Nano.


Alternative Approach: Using Crouton (For Older Chromebooks)

Crouton allows you to run a full Linux distro in a chroot environment alongside Chrome OS.

Warning: This method requires Developer Mode and disables certain security features.

If your Chromebook doesn't support Linux (Beta):

  1. Enable Developer Mode.
  2. Download Crouton: https://goo.gl/fd3zc
  3. Open Chrome OS terminal (Ctrl+Alt+T), type shell.
  4. Run:
sudo sh ~/Downloads/crouton -t xfce

This installs Ubuntu with the XFCE desktop. Switch between Chrome OS and Linux using keyboard shortcuts.


Step 4: Using Linux GUI Apps on Chromebook

Crostini now supports Linux GUI apps, meaning you can run graphical tools like GIMP, Firefox, or even Android Studio.

Install GIMP for example:

sudo apt install gimp

Launch GIMP directly from your Chrome OS launcher.


Step 5: Accessing Files Seamlessly Between Linux and Chrome OS

Linux filesystems are visible in Chrome OS’s file manager under the “Linux Files” section.

To share Chrome OS folders with Linux:

  • Right-click a folder → Share with Linux
    This lets you access Chrome OS files from your Linux environment.

Bonus: Running Docker on Chromebook

Want to run containers? Install Docker inside your Linux container:

sudo apt install docker.io
sudo usermod -aG docker $USER
newgrp docker
docker run hello-world

Note: On some Chromebooks, nested virtualization is limited. Check hardware capabilities.


Wrapping Up

Installing Linux on a Chromebook today is easier and safer than ever thanks to Crostini’s seamless integration. Whether you want to build apps, develop websites, or run servers, enabling Linux unlocks a powerful new dimension.

Summary:

MethodSecurityEffortFlexibilityUse Case
CrostiniHighEasyGood (Linux Container)Everyday dev tools, GUI apps
CroutonMedium to LowModerateFull Linux DesktopOlder devices, full desktop
Full InstallLow (dev mode)AdvancedComplete OS replacementHardcore Linux users

Try enabling Linux (Beta) on your Chromebook today and start experimenting—Chromebooks are no longer just “light-use” laptops; they’re modern developer workhorses.


Got questions or want help with a specific setup? Drop a comment below—I’m here to help you master Linux on your Chromebook!