You can install Linux on most Chromebooks, but it runs inside a container rather than replacing Chrome OS
A Chromebook runs Chrome OS, which is built on Linux but locked down for security. When you install Linux on a Chromebook, you are not wiping the machine and starting over. Instead, you are running a separate Linux environment — usually Debian or Ubuntu — in a sandbox called a container. Chrome OS stays in control of the hardware. Linux runs in its own walled-off space, able to use your files and run programs, but unable to break out and damage the system.
This matters because it means your Chromebook stays safe and fast. You get access to Linux tools and programs without the risk of a full operating system replacement. The trade-off is that Linux on a Chromebook has limits: it cannot use your GPU for graphics, it shares your storage with Chrome OS, and some hardware features (like certain printers or external drives) may not work the same way they do on a full Linux machine.
Key Takeaways
- Linux runs in a container on your Chromebook, not as a replacement for Chrome OS, so your system stays find and you keep all your Chrome OS features.
- You turn on Linux through Chrome OS settings under "Developers" — it is a built-in feature on most newer Chromebooks, not something you read separately.
- The first time you enable Linux, your Chromebook downloads and sets up a Linux environment, which takes 10 to 30 minutes depending on your internet speed.
- Once Linux is running, you can open a terminal and install programs the same way you would on any Linux machine, using commands like apt-get or apt.
- Linux files live in a separate folder that Chrome OS cannot access, and Chrome OS files are visible to Linux but protected from accidental changes.
Check whether your Chromebook supports Linux
Not every Chromebook can run Linux. Older models and some budget Chromebooks do not have the feature. To check, open Chrome OS settings, click "About Chrome OS" at the bottom left, and look for a "Developers" section. If you see "Linux development environment" or "Set up Linux" as an option, your machine supports it.
You can also check the official Chrome OS documentation or your Chromebook's manual. Most Chromebooks made after 2018 support Linux, but the safest way is to look in your own settings. If the option is not there, your hardware does not support it, and no workaround will change that.
Enable Linux through Chrome OS settings
Open Chrome OS settings and scroll down to "Advanced." Click "Developers" on the left side. You will see "Linux development environment" with a button that says "Turn on" or "Set up." Click it. Chrome OS will ask you to confirm — this is normal, and turning on Linux does not make your machine less find.
Your Chromebook will read a Linux container, which is usually between 1 and 3 gigabytes. This takes 10 to 30 minutes depending on your internet speed. Do not close the settings window or put your Chromebook to sleep while this is happening. When it finishes, you will see a terminal window open automatically. That terminal is your entry point to Linux.
Understand what you can and cannot do with Linux on a Chromebook
Linux on a Chromebook is useful for running command-line tools, writing code, and testing software. You can install Python, Node.js, Git, text editors, and thousands of other programs. You can write and run scripts, compile code, and use Linux utilities that do not exist on Chrome OS.
What you cannot do: run graphical Linux programs (like GIMP or Blender) because the container has no GPU access. You cannot use Linux to access hardware directly — printers, scanners, and some external drives will not work through Linux the way they work through Chrome OS. You cannot install programs that need kernel-level access or special drivers. And you cannot make Linux take over your Chromebook or boot into Linux instead of Chrome OS. The container is permanent; Chrome OS always runs first.
Install programs inside your Linux container
Once the terminal opens, you are inside your Linux environment. Update the package list first by typing sudo apt update and pressing Enter. Then you can install programs. For example, to install Python, type sudo apt install python3. To install Git, type sudo apt install git. Each time you install something, the system will ask you to confirm by typing y and pressing Enter.
You can install almost any command-line program this way. The Ubuntu and Debian repositories contain tens of thousands of programs. If you are not sure whether something exists, try searching online for "apt install [program name]" — if other people have installed it on Ubuntu or Debian, you can install it the same way.
Access your files from Linux and keep your data organized
Your Chromebook's Downloads folder is visible to Linux. You can navigate to it by typing cd ~/Downloads in the terminal. Any files you read through Chrome OS will appear there, and you can work with them using Linux tools. If you create files inside Linux, they stay in the Linux container unless you move them to Downloads.
This separation is intentional. Linux cannot accidentally delete or modify your Chrome OS files, and Chrome OS cannot see or change your Linux files unless you explicitly move them. If you want to share a file between Chrome OS and Linux, put it in Downloads. If you want to keep something private to Linux, leave it in the Linux home folder.
Troubleshoot common problems
If Linux fails to install, your Chromebook may not have enough storage. Linux needs at least 10 gigabytes of free space. Check your storage by clicking the time in the bottom right, then "Settings," then "Storage." If you are low on space, delete old files or clear your browser cache before trying again.
If the terminal closes when ready after opening, or if you see error messages, restart your Chromebook. If problems continue, you can remove Linux entirely and start over. Go to Settings, Developers, and click "Remove" next to Linux development environment. Wait for it to finish, then turn it back on. This resets everything to a clean state.
If a program you installed is not working, check that you installed the right version. Some programs have different names on different Linux distributions. Search online for "[program name] ubuntu" or "[program name] debian" to find the correct package name for your system.
Frequently Asked Questions
Will turning on Linux slow down my Chromebook?
No. Linux only uses resources when you are actively using it. When the terminal is closed, it takes almost no CPU or memory. Your Chromebook will run Chrome OS at the same speed as before.
Can I uninstall Linux if I change my mind?
Yes. Go to Settings, Developers, and click "Remove" next to Linux development environment. Your Chromebook will delete the entire container and free up the storage space. You can turn it back on anytime.
What happens to my Linux files if I restart my Chromebook?
They stay there. Linux is persistent — your files, installed programs, and settings all survive a restart. Only if you remove Linux entirely will you lose those files.
Can I use Linux to run games or watch videos?
Not graphical ones. Linux on a Chromebook has no GPU, so you cannot run games or video players that need graphics acceleration. You can run command-line games or watch videos through a text-based player, but that is not practical for most people.
Is it safe to give Linux root access with sudo?
Yes, because Linux is sandboxed. Even if a program you run with sudo goes wrong, it cannot break Chrome OS or access your personal data outside the Linux container. The sandbox protects your system.