How To Download Linux On Chromebook

How To Download Linux On Chromebook

Reading time1 min
#Linux#Chromebook#OpenSource#Crostini#DeveloperMode#Crouton

Mastering Linux Installation on a Chromebook: A Step-by-Step Guide

Forget the Chromebook's constraints—learn how to transform your device into a genuine Linux workstation without sacrificing simplicity or performance, proving that Chromebooks can compete with traditional laptops for serious tech work.

Chromebooks are fantastic for web browsing, light productivity, and education, but many users find themselves frustrated by their limited software ecosystem. If you’re a developer, power user, or just someone who craves the flexibility of a full Linux environment, installing Linux on your Chromebook can be a game-changer. You unlock the ability to run native Linux applications, enjoy advanced customization, and harness the full potential of your hardware.

In this guide, I’ll walk you through a practical, no-nonsense approach to downloading and installing Linux on your Chromebook, turning it into a versatile powerhouse ready for coding, software development, or any Linux-based workflow.


Why Install Linux on a Chromebook?

  • Bypass Chrome OS limitations: Access software not available in the Chrome Web Store.
  • Get a native dev environment: Run editors like VS Code, build tools, Docker, and more.
  • Advanced customization: Modify system configs, install custom packages.
  • Leverage open-source freedom: No vendor lock-in, full control.

What You Need Before Starting

  • A Chromebook that supports Linux (Crostini) or Developer Mode
    Most recent Chromebooks support Linux apps via Crostini (a containerized Linux environment). However, some older or more locked-down models may need Developer Mode enabled to install full Linux distros.
  • Stable internet connection
  • Backup your important data — enabling Developer Mode will wipe your device.

Method 1: Using Built-in Linux (Crostini)

If you want the simplest way to get Linux, Google now officially supports running Linux apps on most Chromebooks using Crostini. This gives you a lightweight Debian container running right alongside Chrome OS.

Step 1: Enable Linux (Beta)

  1. Click the system tray (bottom-right clock area).
  2. Click Settings (gear icon).
  3. Scroll down and find Linux (Beta) in the sidebar.
  4. Click Turn On, then follow the prompts to install and set up the Linux container.

Step 2: Open the Linux Terminal

Once installed, open the Terminal app from your launcher. You’re now inside a Linux shell!

Step 3: Update and Upgrade Packages

Run the following commands to update your new Linux environment:

sudo apt-get update
sudo apt-get upgrade -y

Step 4: Install Developer Tools (e.g., Git, Vim, VS Code)

To install git and vim:

sudo apt-get install git vim -y

To install Visual Studio Code (Microsoft’s popular editor), follow these commands:

wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /usr/share/keyrings/
sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt-get update
sudo apt-get install code -y

Step 5: Enjoy Your Linux Environment

You can now run Linux software natively on your Chromebook! This method is simple, secure, and doesn’t require wiping your device.


Method 2: Installing a Full Linux Distribution (Advanced)

If you want full control — installing Ubuntu, Fedora, or another distro — you may need to enable Developer Mode and use a chroot or dual boot setup. This approach offers more power but requires more technical skill.

Step 1: Enable Developer Mode

Warning: This will wipe all local data on your Chromebook.

  1. Turn off your Chromebook.
  2. Press and hold Esc + Refresh (F3) keys and then press the Power button.
  3. When the recovery screen appears, press Ctrl + D.
  4. Press Enter to confirm enabling Developer Mode.
  5. Wait for your Chromebook to reboot and enter Developer Mode (can take 10-15 minutes).

Step 2: Download and Install Linux with Crouton

Crouton allows you to run Ubuntu alongside Chrome OS with the ability to switch between them seamlessly.

  1. Boot into Chrome OS Developer Mode.
  2. Press Ctrl + Alt + T to open the terminal.
  3. Type shell and press Enter.
  4. Download crouton:
cd ~/Downloads
curl -O https://goo.gl/fd3zc
  1. Install Ubuntu desktop with XFCE environment:
sudo sh ~/Downloads/crouton -t xfce
  1. Follow the setup prompts to create a chroot and user password.

Step 3: Launch Your Linux Environment

  • To start Ubuntu:
    sudo startxfce4
    
  • To return to Chrome OS:
    Press Ctrl + Alt + Shift + Back and then Ctrl + Alt + Shift + Forward.

Tips for Maximizing Your Linux Chromebook

  • Backup your data regularly. Developer Mode can be risky.
  • Use Chrome OS’s file manager to access Linux files via the “Linux files” folder.
  • Customize your Linux terminal with zsh and oh-my-zsh for productivity.
  • Install development packages as needed: Node.js, Python, Docker.

Conclusion

Installing Linux on your Chromebook can break down barriers and unleash a world of open-source power on a device you already own. Whether you prefer the straightforward Crostini container or the full flexibility of Developer Mode with Crouton, this step-by-step guide equips you with everything you need to master the process.

Say goodbye to Chromebook limitations and hello to a fully functional Linux workstation—without sacrificing simplicity or performance. Happy hacking!


Got questions or need help with a specific Chromebook model? Drop a comment below, and I’ll be happy to assist!