How To Install And Run Linux On Your Chromebook In 2026

Your Chromebook Is More Powerful Than You Think

You’re staring at your Chromebook, a device praised for its simplicity and speed. But a thought keeps nagging at you. What if you could run professional-grade software, code in a full development environment, or use desktop applications that Chrome OS just can’t handle? Maybe you need to compile a program, run a specific Linux tool for a class, or just want the freedom of a traditional desktop without buying a new machine.

That’s where Linux comes in. Installing and running Linux on a Chromebook unlocks a world of possibilities, transforming your lightweight laptop into a versatile dual-boot or dedicated Linux machine. The process has evolved significantly, becoming more accessible than ever. This guide will walk you through every step, from choosing the right method to troubleshooting common pitfalls, ensuring you get a stable Linux system running on your hardware.

Understanding Your Chromebook’s Linux Capabilities

Before you start downloading files, it’s crucial to understand the landscape. Chromebooks are not typical PCs; they have unique firmware and security models. Your approach depends heavily on your Chromebook model and what you want to achieve.

The Official Gateway: Linux Development Environment (Crostini)

Google provides an official, sandboxed Linux container inside Chrome OS called the Linux Development Environment, often referred to by its project name “Crostini.” This is the safest and easiest method. It runs a Debian-based Linux distribution in a container, seamlessly integrated with your Chrome OS desktop. You can install Linux apps from the terminal, and they appear in your app launcher.

This method is perfect for developers, students needing coding tools like VS Code or Python, and users who want to run GIMP, LibreOffice, or other desktop applications without leaving Chrome OS. It doesn’t require disabling any security features or risking your system. However, it’s still a container. It may not have direct hardware access for tasks like advanced GPU programming or modifying low-level system settings.

Taking Full Control: Installing Linux via Crouton

For years, the tool “Crouton” (Chromium OS Universal Chroot Environment) was the go-to method for a more integrated Linux experience. It allows you to run a full Linux desktop distribution like Ubuntu or Debian side-by-side with Chrome OS in a chroot. You can switch between Chrome OS and Linux with a keyboard shortcut.

Crouton offers better hardware integration and performance than Crostini for some tasks, as it shares the Chrome OS kernel. It feels more like a traditional dual-boot setup without actually rebooting. The main drawback is that it requires enabling “Developer Mode” on your Chromebook, which wipes your local data and presents a warning screen on every boot. It’s also an older project with less active development, so support for newer Chromebook models can be hit or miss.

The Ultimate Freedom: Replacing Chrome OS (Dual-Boot or Full Install)

This is the most advanced path: completely replacing Chrome OS with a Linux distribution like Ubuntu, GalliumOS (a distro specifically optimized for Chromebooks), or Fedora. This gives you a pure Linux laptop with full hardware control and maximum performance.

To do this, you typically need to remove a firmware write-protect screw inside your Chromebook and flash custom firmware like MrChromebox’s UEFI. This process is hardware-specific, irreversible for some models, and voids any remaining warranty. It’s only recommended for older Chromebooks or users who are certain they no longer need Chrome OS. The reward is a machine that behaves exactly like a standard Linux laptop.

Step-by-Step: Enabling the Official Linux Environment (Crostini)

Let’s start with the recommended method for most users. Ensure your Chromebook is updated to the latest version of Chrome OS.

how to install and run linux on a chromebook

Activating Linux in Your Settings

Open your Chromebook’s Settings. In the left-hand menu, find and click on “Developers.” Here, you will see an option labeled “Linux development environment.” Click the “Turn on” button next to it.

A setup window will appear. It will ask you to set a username for your Linux environment and allocate disk space. The default username is fine for most, and you can adjust the disk space slider based on how many applications you plan to install. 10 GB is a good starting point. Click “Install” and wait. The process will download and set up the Linux container, which may take 10-15 minutes depending on your internet connection.

Your First Steps in the Linux Terminal

Once installation completes, a terminal window will open. This is your gateway to the Linux world. The container runs a stable version of Debian. Start by updating the package lists to ensure you get the latest software.

Type the following command and press Enter:

sudo apt update && sudo apt upgrade -y

You will be prompted for the password you set during installation. The system will update all installed packages. Now you can install software. For example, to install the popular text editor VS Code, you would first add its repository and then install it.

sudo apt install curl
curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg –dearmor -o /usr/share/keyrings/vscode.gpg
echo “deb [arch=amd64 signed-by=/usr/share/keyrings/vscode.gpg] https://packages.microsoft.com/repos/code stable main” | sudo tee /etc/apt/sources.list.d/vscode.list
sudo apt update
sudo apt install code

After installation, you can find VS Code in your Chrome OS app launcher. Any Linux app you install will appear there, integrated neatly into your system.

Installing a Full Linux Desktop with Crouton

If you need more direct hardware access or a specific desktop environment, Crouton is your next step. Warning: This requires enabling Developer Mode, which will powerwash (factory reset) your Chromebook, erasing all local files. Back up everything to Google Drive or an external device first.

how to install and run linux on a chromebook

Entering Developer Mode

Turn off your Chromebook. To enter Recovery Mode, hold down the Esc and Refresh keys (the key with a circular arrow, usually where F3 would be), then press the Power button. Release the Power button but keep holding Esc and Refresh until you see a recovery screen.

Press Ctrl+D on the keyboard. You will see a prompt asking to turn off OS verification. Press Enter to confirm. The system will reboot and begin the process of enabling Developer Mode, which includes the powerwash. Follow the on-screen setup once it completes. You will now see a warning screen on every boot; you must press Ctrl+D or wait 30 seconds to continue booting into Chrome OS.

Downloading and Running Crouton

Once back in Chrome OS, open the Chrome browser and download the latest Crouton script from its official GitHub repository. Open the Chrome OS terminal by pressing Ctrl+Alt+T. This opens the crosh shell. Type `shell` and press Enter to get a bash shell.

Now, navigate to your Downloads folder and make the script executable. A common command to install an Ubuntu release with the lightweight Xfce desktop would be:

sudo sh ~/Downloads/crouton -t xfce

The installation will download necessary files and set up the chroot. When finished, you can enter your new Linux desktop by running:

sudo startxfce4

To switch back to Chrome OS, use the key combination Ctrl+Alt+Shift+Back and Ctrl+Alt+Shift+Forward. You have a fully functional Linux desktop running in parallel.

Navigating Common Roadblocks and Troubleshooting

Even with careful steps, you might encounter issues. Here are solutions to the most common problems.

how to install and run linux on a chromebook

Linux Environment Won’t Start or Crashes

If your Crostini container fails to start, the first fix is often a simple restart of the Linux VM. Go to Settings > Developers > Linux development environment and click “Restart.” If that fails, you may need to remove and reinstall the environment. Be aware this will delete all data and apps inside the Linux container. Click “Remove” and then “Turn on” again to perform a clean install.

For Crouton, if the installation fails, it’s often due to an incomplete download or an unsupported Chromebook model. Ensure you have a stable internet connection during download. Check the Crouton GitHub page for a list of known working devices and any model-specific installation notes.

Software Installation Errors and Missing Dependencies

Inside the Linux terminal, if `apt` commands fail with errors about missing repositories or broken packages, start by updating your package lists again with `sudo apt update`. If you get dependency errors, the command `sudo apt –fix-broken install` can often resolve them.

For software not in the default Debian repositories, you’ll need to add a PPA (Personal Package Archive) or download a .deb file. Always verify the source is trustworthy before adding new repositories to your system.

Performance is Slower Than Expected

Linux in a container or chroot has some overhead. If Crostini feels sluggish, ensure you haven’t allocated too little RAM. You can’t directly adjust this in settings, but closing other Chrome tabs and Android apps can free up memory for the Linux VM. For Crouton, try using a lighter desktop environment like Xfce instead of GNOME or KDE.

For any method, using an SSD-based Chromebook will provide a significantly better experience than an eMMC storage model. If you’ve fully replaced Chrome OS and performance is poor, research if your specific Chromebook model has dedicated drivers or kernel patches available from the GalliumOS project.

Choosing Your Path Forward

You now have a clear map of the territory. For the vast majority of users seeking to run Linux apps for development, creativity, or education, the official Crostini environment is the perfect starting point. It’s secure, integrated, and requires no compromises on your Chromebook’s safety or warranty.

If you need deeper system integration for a specific project and are comfortable with the Developer Mode trade-offs, Crouton offers a classic dual-boot feel. Reserve the full Chrome OS replacement for older hardware you’re ready to dedicate entirely to Linux, or for the true hobbyist who enjoys firmware tinkering.

The power was always there in your Chromebook, waiting to be unlocked. Start with Crostini today. Open your settings, turn on the Linux development environment, and type your first `sudo apt update` command. A terminal window is all that stands between you and a vastly expanded digital toolkit. Your next project, whether it’s a Python script, a edited photo, or a compiled application, is now within reach on the device you already own.

Leave a Comment

close