Blog / Operating systems & apps /

Linux apps on Chromebooks

The usual complaint about a Chromebook is: “It’s just a browser.” For plenty of people that’s exactly the point. But then comes the afternoon when you need a proper code editor, an image tool that isn’t a web page, or a command line, and the complaint starts to sound true.

The answer is already built into most Chromebooks. ChromeOS can run a small Linux environment alongside the normal system, and Linux apps appear in the launcher like any other app. You don’t need to wipe anything or void a warranty.

If you want the background first, I explained how the system works in ChromeOS explained: how a Chromebook really works and who it suits in Chromebooks: who should buy one. This post is the practical part: turning Linux on and using it without making a mess.

What you’re actually switching on

ChromeOS runs Linux inside a container, a sealed box within the system. The box is a Debian-based Linux. Inside it you can install software with the usual Linux tools, and it can’t casually reach into the rest of ChromeOS.

That has two consequences worth understanding:

  • It’s safe. If you break something inside the Linux box, you can delete the box and start again. ChromeOS carries on.
  • It’s a bit separate. Linux has its own file area, and you have to share folders with it on purpose.

A simple analogy: it’s a workshop in the garden shed. You can make a mess in there, and the house stays tidy. But you carry things between the two buildings.

Check that your Chromebook can do it

Most recent Chromebooks support Linux, and it’s been available for years on many older models. The quickest check is to open Settings and look under the Advanced section for “Developers”. If you see an option labelled “Linux development environment”, you can use it.

On a school- or work-managed Chromebook, the administrator may have turned it off. That isn’t something you can change yourself, and you shouldn’t try to work around it.

Step by step

1. Turn on the Linux environment

In Settings, go to Advanced, then Developers, and choose to turn on the Linux development environment. A setup window asks for a username and a size for the disk space. Pick something sensible rather than the minimum. Linux apps and their files can add up, so leave yourself room, particularly on a Chromebook with limited storage.

The first setup takes a few minutes. When it finishes, a Terminal app appears in your launcher.

2. Update it

Open Terminal and run:

sudo apt update
sudo apt upgrade

The first command refreshes the list of available software. The second installs newer versions of what you already have. It’s the Linux equivalent of “check for updates”, and worth doing before installing anything.

3. Install an app

Say you want a code editor, such as Visual Studio Code. You can download the Debian package from the official site and double-click it in the ChromeOS file manager; ChromeOS offers to install it. For many open-source apps, the command line is quicker:

sudo apt install gimp

That installs GIMP, a free image editor. After a minute or so, it appears in your launcher alongside your other apps.

Check that an app has an ARM version if your Chromebook has an ARM processor. Many Chromebooks use Intel or AMD chips, and some use ARM chips. Most popular open-source software supports both, but a few downloads are built only for one type.

4. Share files with Linux

By default, Linux can’t see your normal ChromeOS files. In the Files app, right-click a folder and choose to share it with Linux. That folder then appears inside the Linux environment, so a program can open the documents you keep in ChromeOS.

Share only what you need. Sharing your whole Downloads folder is convenient, but it means everything in there is reachable from the Linux side.

What works well

Linux on a Chromebook is a good fit for:

  • Code editors and developer tools, including Git, Python and Node.
  • Free desktop apps such as LibreOffice, GIMP, Inkscape and audio editors.
  • Learning the command line in a safe environment. If you’re curious, why every web admin should know a little Linux explains why it’s worth it.
  • Running a local test site or small server while you develop.

If you manage websites, the Linux box is handy for SSH, Git and quick scripts. It means a cheap laptop can do small admin jobs that would otherwise need a heavier machine.

What doesn’t work so well

Be honest about the limits before you build a workflow around it.

  • Heavy graphics and gaming. The Linux environment is a container, and graphics-heavy programs may struggle.
  • Hardware access. Some USB devices and certain peripherals don’t pass through easily.
  • Big, resource-hungry apps. A Chromebook with little memory and storage will feel it as soon as you run a browser, Android apps and a Linux editor together.
  • Software that needs a full desktop Linux. Anything that expects direct hardware access or a complete operating system won’t behave.

And if you find yourself fighting the setup every day, the problem may be the machine rather than the method. A Chromebook is built for the browser, and a laptop designed for other kinds of work might serve you better.

Keeping it tidy

  • Back up the Linux environment. ChromeOS lets you back up and restore it from the Linux settings. Do it before big changes.
  • Remove what you don’t use. Uninstall apps you tried once. They take up storage.
  • Don’t run random commands from the internet. Copying a command you don’t understand into a terminal is the way people get into trouble, on Linux or anywhere else.

Key takeaways

  • Most Chromebooks can run Linux apps inside a sandbox, turned on from Settings.
  • Update first, then install software with apt or a downloaded package.
  • Share folders with Linux on purpose, and share as little as you can.
  • It’s great for editors, command-line learning and free desktop apps, and weak for gaming and hardware-heavy work.

FAQ

Does this replace ChromeOS?

No. It runs beside it, and you can turn it off or delete it whenever you like.

Can I run Windows programs?

Not directly. Linux apps are different from Windows apps. Some Windows programs have a Linux version, and some can run through compatibility tools, though how well depends on the program.

Will it slow my Chromebook down?

It uses memory and storage only when it’s running. Close it when you’re done.

Turn it on, run the two update commands, and install one app you’ve always wanted. If you end up using it weekly, you’ve found a use for it. If not, switch it off and you’ve lost nothing.