Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Enable Linux on Chromebook: Step-by-Step Guide

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can enable Linux on your Chromebook, and you should if you want to install desktop apps, use a terminal, or run development tools. It's a built-in feature called Linux (Crostini) that runs in a secure virtual machine. You'll need a Chromebook that supports it — most made after 2019 do — and about 5 GB of free storage. Here's how to turn it on and what to expect.

What You'll Need

  • A Chromebook that supports Linux (check Settings > About ChromeOS if unsure).
  • At least 5 GB of free storage (the Linux container uses about 2 GB initially).
  • An internet connection for the initial download.
  • Your Chromebook's power adapter (optional, but good to keep plugged in during setup).

Step-by-Step

  1. Update ChromeOS. Go to Settings > About ChromeOS and click Check for updates. Install any pending updates and restart if prompted. Linux is only available on recent versions.
  2. Open Settings. Click the clock in the bottom-right corner, then the gear icon (Settings).
  3. Find the Linux section. In the left sidebar, look for Advanced and click it, then select Developers. On some versions, it's under About ChromeOS or directly in the main menu.
  4. Turn on Linux. Click Enable next to Linux development environment. If you don't see this option, your Chromebook may not support it.
  5. Set up your username. A dialog will appear asking for a Linux username and disk size. The default username is your Chromebook's username, but you can change it. The disk size defaults to 10 GB — you can adjust it, but 10 GB is a good starting point.
  6. Click Install. The setup will download the Linux container. This can take a few minutes depending on your internet speed. You'll see a terminal window open when it's done.
  7. Update your Linux environment. In the terminal, type sudo apt update and press Enter, then sudo apt upgrade and press Enter. This ensures you have the latest packages.
  8. Install apps. You can now install Linux apps using sudo apt install [package-name]. For example, sudo apt install gimp installs the GIMP image editor. Apps appear in your Chromebook's app launcher.

Common Mistakes

  • Skipping the update. If ChromeOS is outdated, the Linux option may be missing or fail to enable.
  • Choosing a tiny disk size. If you set the disk to 2 GB, you'll run out of space quickly. Start with at least 10 GB.
  • Using the wrong commands. Linux commands are case-sensitive and must be typed exactly. For example, apt is lowercase, not APT.
  • Forgetting to update. After enabling Linux, you must run sudo apt update before installing anything, or you'll get errors about missing packages.
  • Closing the terminal too early. Some installations take time; closing the terminal mid-install can corrupt the package.

Tips

  • Use the file manager. Your Linux files are stored in a special folder called "Linux files" in the Files app. You can drag and drop files between ChromeOS and Linux.
  • Install a GUI package manager. For easier app installation, you can install gnome-software or synaptic via the terminal.
  • Back up your Linux container. Go to Settings > Advanced > Developers > Linux development environment and click Backup to create a backup file. You can restore it later.
  • Use the terminal for everything. The terminal is powerful — you can run Python scripts, install Node.js, or use git. It's like having a mini Ubuntu machine.
  • Adjust disk size later. If you run out of space, you can expand the disk by going to Settings > Advanced > Developers > Linux, and clicking the gear icon next to Linux.

Troubleshooting

If Linux fails to enable or crashes, try these in order:

  1. Restart your Chromebook. A simple reboot fixes many issues.
  2. Check your storage. Go to Settings > Storage and free up space if you're under 5 GB.
  3. Disable and re-enable Linux. Go to Settings > Advanced > Developers > Linux, click the trash icon to remove Linux, then re-enable it. This deletes all Linux data, so back up first.
  4. Powerwash (factory reset). If nothing else works, back up your files, then go to Settings > Advanced > Reset settings > Powerwash. This erases everything on your Chromebook, so only do this as a last resort.
  5. Check for hardware support. Some older Chromebooks (pre-2019) don't support Linux. Verify your model on Google's support page.

Frequently Asked Questions

Will enabling Linux slow down my Chromebook?

Not noticeably. Linux runs in a virtual machine that shares resources, but ChromeOS is designed to handle it. If you run heavy apps, you might see some slowdown, but basic use is fine.

Can I install any Linux app?

Most Debian-based apps work, but some require a graphical interface or specific hardware support. Apps that need kernel modules (like some VPNs) may not work. Check the app's requirements.

How do I uninstall Linux?

Go to Settings > Advanced > Developers > Linux development environment, click the trash icon next to Linux, and confirm. This removes all Linux files and apps.

Can I use Linux on a Chromebook without a developer mode?

Yes, Linux (Crostini) is a supported feature, not a hack. You don't need developer mode. Enabling it is safe and official.

Why would I want Linux on a Chromebook?

It lets you use apps like GIMP, LibreOffice, or VS Code, and gives you a terminal for coding, scripting, or running servers. It's the easiest way to get desktop software on a Chromebook.

Can I access USB devices from Linux?

Yes, but you need to enable it. Plug in the device, then in the terminal, go to Settings > Advanced > Developers > Linux, and toggle on "USB devices." Then reconnect the device.