Smart Systems for Home

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

Install Linux Apps on Chromebook: Step-by-Step

· 6 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 install Linux apps on most Chromebooks using the built-in Linux development environment (Crostini). This lets you run apps like GIMP, LibreOffice, and VS Code alongside Chrome OS. You'll need a Chromebook that supports Linux (most models from 2019 onward) and at least a few GB of free storage. Here's how to set it up and install your first apps.

What You'll Need

  • A Chromebook with Linux support enabled (check Settings > About Chrome OS > Additional details; if you see "Linux" there, you're good).
  • An internet connection.
  • At least 1–2 GB of free storage (more if you plan to install large apps).
  • Administrator (owner) access to the Chromebook—Linux can't be enabled on managed school/work devices unless the admin allows it.

Step-by-Step

  1. Enable Linux (Crostini): Open Settings (gear icon in the Quick Settings panel). Go to Advanced > Developers > Linux development environment. Click Turn on. Follow the prompts to set up a Linux username and allocate disk space (default is fine for most). This downloads the Linux container—it may take a few minutes.
  2. Open the Terminal: Once setup finishes, you'll see a Terminal app in your app launcher. Open it. You'll get a command prompt (e.g., username@penguin:~$).
  3. Update the package list: Type sudo apt update and press Enter. Enter your Linux password when prompted (it's the one you set during setup). This refreshes the list of available software.
  4. Upgrade existing packages (recommended): Type sudo apt upgrade and press Enter. Confirm with Y when asked. This ensures your system is up to date.
  5. Install an app: Use the apt install command. For example, to install GIMP (image editor): sudo apt install gimp. Press Enter, then type Y when prompted to confirm. Wait for the download and installation to finish.
  6. Launch the app: Once installed, you'll find the app in your Chromebook's app launcher (the circle icon in the bottom-left corner). Click it to run it. It will appear in a window like any other Chrome OS app.
  7. Install more apps: Repeat step 5 with other package names. For example: sudo apt install libreoffice (office suite), sudo apt install vlc (media player), or sudo apt install code (VS Code—but note that VS Code may require a .deb download from the official site instead).

Note: Menu labels can differ slightly depending on your Chrome OS version and device model. If you don't see "Linux development environment" under Developers, your Chromebook may not support Linux or it may be disabled by your administrator.

Common Mistakes

  • Skipping the update: Running sudo apt install without first doing sudo apt update can lead to errors about packages not being found. Always update first.
  • Typing commands incorrectly: Linux commands are case-sensitive. sudo apt install gimp works, but sudo apt install GIMP will fail. Copy-paste commands when possible.
  • Forgetting the password: The Linux password is separate from your Google account password. If you forget it, you may need to disable and re-enable Linux (which deletes your Linux files).
  • Running out of disk space: Linux apps can be large. If you get a "no space left on device" error, you may need to free up space or resize the Linux container (Settings > Advanced > Developers > Linux development environment > Change disk size).
  • Expecting every Linux app to work: Some apps (especially those requiring heavy GPU or specific hardware) may not run well or at all in the Linux container. Check the app's requirements before installing.

Tips

  • Use the terminal for software updates: Regularly run sudo apt update && sudo apt upgrade to keep your Linux apps and system secure.
  • Install from the official source: For apps not in the default repository (like VS Code or Discord), download the .deb file from the official website and install it with sudo dpkg -i /path/to/file.deb. Then run sudo apt install -f to fix any missing dependencies.
  • Access your Linux files: Your Linux files are stored in a special folder called "Linux files" in the Chrome OS Files app. You can move files between Chrome OS and Linux by dragging and dropping.
  • Use the app launcher for quick access: After installing an app, you can right-click it in the launcher to pin it to the shelf for easier access.
  • Back up your Linux environment: If you're doing important work, consider backing up your Linux files to Google Drive or an external drive periodically.

Troubleshooting

If the Linux environment fails to enable: Make sure your Chromebook is updated to the latest Chrome OS version. Restart your Chromebook and try again. If it still fails, your device may not support Linux or it's blocked by your administrator.

If sudo apt update gives errors: Check your internet connection. If you see "Temporary failure resolving" errors, you may need to restart the Linux container: right-click the Terminal icon in the shelf and select "Shut down Linux", then open Terminal again.

If an app doesn't launch: Try launching it from the terminal to see error messages. For example, type gimp in the terminal. If you see missing library errors, run sudo apt install -f to fix broken dependencies.

If the terminal is slow or unresponsive: Close other Linux apps and try again. You can also restart the Linux environment by right-clicking the Terminal icon and choosing "Shut down Linux", then reopening it.

If you want to remove Linux entirely: Go to Settings > Advanced > Developers > Linux development environment and click "Remove". This deletes all Linux files and apps—make sure you back up anything important first.

Frequently Asked Questions

Which Chromebooks support Linux apps?

Most Chromebooks released after 2019 support Linux. To check, go to Settings > About Chrome OS > Additional details. If you see "Linux" listed, your device supports it. Some older or low-end models may not.

Can I install Windows apps on a Chromebook using Linux?

No, Linux on Chromebook runs Linux apps, not Windows apps. For Windows apps, you'd need a different solution like a remote desktop or a Windows virtual machine, which is not officially supported on Chromebooks.

Will Linux apps slow down my Chromebook?

Linux apps run in a lightweight virtual machine, so they may use more RAM and CPU than Chrome OS apps. If you have 4GB of RAM or less, you may notice some slowdown, but basic apps like text editors should be fine.

Can I install apps from the Google Play Store using Linux?

No, the Play Store installs Android apps, not Linux apps. Linux apps are installed via the terminal or by downloading .deb files from the internet.

Do Linux apps appear in the Chrome OS app launcher?

Yes, after installation, Linux apps appear in the app launcher (the circle icon in the bottom-left corner). You can search for them by name.

How do I uninstall a Linux app?

Use the terminal: sudo apt remove . For example, sudo apt remove gimp. This will remove the app but may leave configuration files. To remove those too, use sudo apt purge .