This guide walks you through enabling Linux (Crostini) on a Chromebook, installing your first apps, and using the terminal for everyday tasks. You’ll need a Chromebook that supports Linux (most models from 2019 onward) and about 15 minutes to complete the setup. By the end, you’ll have a working Linux environment alongside Chrome OS, with access to thousands of open-source applications.
What You’ll Need
- A Chromebook with Linux support (check by going to Settings > About Chrome OS; if you see “Linux” in the left sidebar, you’re good).
- At least 5 GB of free storage (Linux uses about 2-3 GB for the base system, plus space for apps).
- An internet connection for the initial download.
- Optional: a USB drive or external storage if you plan to use Linux for heavy file work.
Step-by-Step
- Enable Linux: Open Settings (click the clock in the bottom-right, then the gear icon). In the left sidebar, find “Advanced” and click it, then click “Developers.” Under “Linux development environment,” click “Turn on.”
- Set up the Linux container: A dialog will appear asking for a username. Choose a simple username (e.g., your first name) and set a disk size. The default is fine for most users. Click “Install.” This downloads and sets up the Linux environment—it may take 5-10 minutes.
- Open the terminal: Once installation finishes, you’ll see a Terminal app in your app launcher. Open it. You’ll get a bash shell with a prompt like
username@penguin:~$. - Update the system: Run
sudo apt updateand thensudo apt upgrade. This refreshes the list of available software and installs security updates. Enter your password when prompted (you won’t see it as you type). - Install your first app: Use
sudo apt install. For example, to install the GIMP image editor:sudo apt install gimp. Confirm with ‘Y’ when asked. - Launch a GUI app: After installation, you can find the app in your Chromebook’s app launcher under the Linux folder. Click it to run it like any other app. You can also launch it from the terminal by typing its command (e.g.,
gimp). - Access your Linux files: Open the Files app. In the left sidebar, you’ll see “Linux files.” This is the home directory of your Linux environment. You can drag and drop files between Chrome OS and Linux here.
- Install a code editor (optional): For programming, try
sudo apt install code(this installs VS Code) orsudo apt install vimfor a terminal-based editor. Usecodeto launch VS Code. - Manage installed apps: To see what’s installed, use
apt list --installed. To remove an app, usesudo apt remove. - Back up your Linux environment: Go to Settings > Advanced > Developers > Linux development environment. Click the “Backup” button to create a .tini file that you can restore later.
Common Mistakes
- Choosing a username with spaces or uppercase: Linux usernames must be lowercase and without spaces. Stick to letters and numbers.
- Forgetting to update: If you skip
sudo apt update, you might not find the packages you want or run into dependency issues. - Installing apps from random websites: Always use
aptor the official repositories. Downloading .deb files from unknown sources can break your system. - Not understanding the file system: Your Linux files are separate from Chrome OS files. You can’t access Chrome OS files directly from Linux unless you enable file sharing (see Tips).
- Running commands with sudo unnecessarily: Only use
sudowhen you need admin privileges. Runningsudoon a regular command can cause permission issues later.
Tips
- Enable file sharing: In the Linux terminal, run
sudo apt install chromeos-demo(not real) – actually, to share a Chrome OS folder with Linux, right-click the folder in the Files app, select “Share with Linux,” and it will appear under/mnt/chromeos/. - Use the terminal for quick tasks: You can run
pwdto see your current directory,lsto list files, andcdto change directories. It’s faster than clicking through folders. - Install a package manager like flatpak: For the latest versions of apps,
sudo apt install flatpakand then add the Flathub repository. This gives you access to newer software than the default repos. - Customize the terminal: Right-click inside the terminal window and choose “Preferences” to change the font, colors, and cursor style.
- Use keyboard shortcuts: Ctrl+Alt+T opens a terminal in Chrome OS, but for the Linux terminal, just use the Terminal app. Ctrl+Shift+V pastes into the terminal (Ctrl+V doesn’t work).
Troubleshooting
- Linux doesn’t turn on: If you don’t see the Linux option in Settings > Advanced > Developers, your Chromebook doesn’t support it. Check the official list of Chromebooks with Linux support. If it does support but fails to enable, try restarting your Chromebook and retrying.
- Terminal says “command not found”: This usually means the package isn’t installed. Double-check the spelling and try
sudo apt installagain. If it’s a command likecode, you might need to install it first. - App won’t launch: Some Linux apps need additional libraries. If an app fails to start from the launcher, try running it from the terminal to see the error message. For example,
gimpwill print errors in the terminal. You can then search for the missing library and install it. - Storage space low: Check usage with
df -h. Remove unused apps withsudo apt removeand clean up withsudo apt autoremove. You can also increase the Linux disk size in Settings > Advanced > Developers > Linux, but this requires a backup first. - Can’t access files from Chrome OS: Make sure you’ve shared the folder via the Files app (right-click > Share with Linux). The shared folder appears under
/mnt/chromeos/in the Linux terminal. - Network issues: If Linux can’t connect to the internet, check that your Chromebook is online. Sometimes toggling the Linux container off and on (Settings > Advanced > Developers > Linux > Power off) and restarting helps.
Frequently Asked Questions
- Is Linux on Chromebook safe? Yes, Linux runs in a sandboxed container. It’s isolated from Chrome OS, so even if you install something malicious, it can’t affect the core system.
- Can I run Windows apps? Not directly. Linux on Chromebook runs Linux software. You can use compatibility layers like Wine, but they’re unreliable and not recommended for beginners.
- Will Linux slow down my Chromebook? Not noticeably. The Linux environment runs alongside Chrome OS, and you can turn it off when not in use. It uses some RAM, but modern Chromebooks handle it fine.
- Can I access my Google Drive files from Linux? Yes, but indirectly. You can download files from Drive in Chrome OS, move them to “Linux files” via the Files app, and then access them in Linux. There’s no direct integration.
- How do I uninstall Linux? Go to Settings > Advanced > Developers > Linux development environment and click “Remove.” This deletes the entire Linux environment, including all files and apps.
- Can I install Linux on any Chromebook? Only models that support it. Google maintains a list of supported devices. If yours isn’t listed, you can’t enable it through settings.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- iOS 18 Safari Not Working? Fixes That Help
- How to Check Your Linux Kernel for Spectre
- iPhone Safe Mode: How to Enable or Disable It
- Fix Slow Internet Lag on Samsung Galaxy Note
- How to Get iOS 17 on iPhone X (Safe Methods)
- Fix Gmail IMAP Error in Outlook: Step-by-Step