How To Uninstall A Linux App On Chromebook : Removing Linux Apps From Chromebook

Linux apps on a Chromebook require a different removal process than standard Android apps. If you’ve been wondering how to uninstall a linux app on chromebook, you’re in the right place. This guide walks you through every method, from the simple GUI approach to terminal commands. Whether you’re freeing up space or removing a misbehaving app, these steps work for most ChromeOS setups.

Chromebooks with Linux support let you run powerful desktop software. But when you no longer need an app, uninstalling it isn’t always obvious. The process varies depending on how you installed the app—via the terminal, the Software Center, or a .deb file. Don’t worry, we’ll cover all scenarios.

Let’s start with the easiest method first. Most users prefer a visual approach, and ChromeOS provides one.

Uninstall Via The Linux Apps Folder

The simplest way to remove a Linux app is through the app launcher. This method works for apps installed from the terminal or the Software Center. It’s similar to uninstalling an Android app.

  1. Open the Launcher by clicking the circle icon in the bottom-left corner of your screen.
  2. Find the Linux apps folder. It’s usually labeled “Linux apps” and contains all your installed Linux software.
  3. Right-click the app you want to remove. A context menu appears.
  4. Select “Uninstall” from the menu. A confirmation dialog pops up.
  5. Click “Uninstall” again to confirm. The app is removed within seconds.

This method is quick and requires no technical knowledge. However, it only works for apps that appear in the Linux apps folder. Some command-line tools or background services won’t show up here. For those, you’ll need the terminal.

How To Uninstall A Linux App On Chromebook Using The Terminal

When the GUI method fails, the terminal is your best friend. The exact command depends on whether you installed the app via APT, a .deb file, or from source. Let’s break it down.

Using APT To Remove Apps

Most Linux apps on Chromebooks are installed using APT (Advanced Package Tool). This is the default package manager for Debian-based systems, which ChromeOS Linux uses. Here’s how to remove an APT-installed app.

  1. Open the Terminal app from the Linux apps folder.
  2. Type sudo apt remove [app-name] and press Enter. Replace [app-name] with the actual package name.
  3. Enter your Linux password when prompted. You won’t see characters as you type.
  4. Confirm the removal by typing “Y” and pressing Enter when asked.

For example, to uninstall the GIMP image editor, you’d type sudo apt remove gimp. The terminal shows a summary of what will be removed. After confirmation, the app and its dependencies are deleted.

If you want to remove configuration files too, use sudo apt purge [app-name]. This cleans up leftover settings, which is useful if you plan to reinstall later.

Removing Apps Installed From .Deb Files

Some apps come as .deb files you downloaded manually. The terminal can remove these too. First, you need to know the exact package name. It’s often different from the filename.

  1. Open Terminal.
  2. Type dpkg -l | grep [partial-name] to search for the package. Replace [partial-name] with a part of the app’s name.
  3. Look for the package name in the output. It’s usually in the second column.
  4. Once you have the name, run sudo apt remove [package-name].

For instance, if you installed Google Earth from a .deb file, the package name might be “google-earth-pro-stable”. The command would be sudo apt remove google-earth-pro-stable.

If APT doesn’t work, try sudo dpkg -r [package-name]. This forces removal even if dependencies are broken.

Uninstalling Apps Built From Source

If you compiled an app from source code, removal is trickier. There’s no standard uninstaller. The source code might include an “uninstall” target. Navigate to the build directory and run sudo make uninstall. If that fails, you may need to manually delete the files. Check the installation log or the app’s documentation for file locations.

Most users won’t encounter this scenario. Stick to APT or .deb files for easier management.

Using The Software Center (GUI Method)

ChromeOS includes a graphical Software Center for Linux apps. It’s called “Linux Apps” or “Software” in the launcher. This method is ideal for beginners.

  1. Open the Software Center from the Linux apps folder.
  2. Click the “Installed” tab to see all your Linux apps.
  3. Find the app you want to remove. Use the search bar if needed.
  4. Click the “Remove” button next to the app.
  5. Enter your Linux password if prompted. The app is uninstalled.

This method is straightforward, but it only shows apps installed via the Software Center or APT. Apps installed from .deb files or source may not appear here. If you don’t see the app, use the terminal instead.

Removing Leftover Files And Dependencies

After uninstalling an app, you might have leftover files. These include configuration files, cache, and unused dependencies. Cleaning them up frees disk space and prevents conflicts.

Cleaning Up With APT

Run these commands in Terminal after removing an app:

  • sudo apt autoremove – Removes unused dependencies that were installed with the app.
  • sudo apt autoclean – Deletes old package files from the cache.
  • sudo apt clean – Empties the entire package cache.

These commands are safe and won’t affect other apps. Run them regularly to keep your Linux environment tidy.

Deleting Configuration Files Manually

Some apps store settings in hidden folders in your home directory. For example, GIMP uses ~/.config/GIMP. To remove these, open the Files app, enable “Show hidden files” (Ctrl+H), and delete the relevant folder. Be careful not to delete system files.

If you’re unsure which folder belongs to the app, search online for the app’s configuration directory. Or use the terminal to list hidden folders with ls -la ~/.

Troubleshooting Common Uninstall Issues

Sometimes uninstalling a Linux app doesn’t go smoothly. Here are common problems and solutions.

App Not Found In Terminal

If you get “package not found” when trying to remove an app, the package name might be wrong. Use dpkg -l to list all installed packages. Look for the exact name. It might have a different spelling or version suffix.

For example, “vlc” might be listed as “vlc-bin” or “vlc-data”. Use the full name in the remove command.

Dependency Errors

Sometimes APT refuses to remove an app because of broken dependencies. Try sudo apt --fix-broken install first. This repairs dependency issues. Then attempt the removal again.

If that fails, use sudo dpkg --remove --force-remove-reinstreq [package-name]. This forces removal even with broken dependencies. Use this as a last resort.

Permission Denied

If you see “permission denied” in the terminal, you forgot to use sudo. Most package management commands require superuser privileges. Always prefix with sudo and enter your password.

App Still Appears After Uninstall

If the app icon remains in the launcher after removal, try restarting ChromeOS. Click the time in the bottom-right corner, then the power icon, and select “Restart”. The icon should disappear after reboot.

If it persists, the app might have created a .desktop file manually. Delete it from ~/.local/share/applications/ using the Files app or terminal.

Preventing Future Installation Issues

To avoid headaches later, follow these best practices when installing Linux apps on your Chromebook.

  • Always use APT or the Software Center when possible. They handle dependencies and removal cleanly.
  • Keep a list of apps you install manually. Note the package name and installation method.
  • Regularly run sudo apt update and sudo apt upgrade to keep your system healthy.
  • Back up your Linux container before major changes. ChromeOS allows you to back up and restore Linux via Settings > Developers > Linux development environment.

These steps save time if you ever need to uninstall or reinstall apps.

Alternative: Resetting The Linux Container

If you have many apps to remove or your Linux environment is broken, consider resetting the entire container. This wipes all Linux apps and data, giving you a fresh start.

  1. Go to ChromeOS Settings by clicking the time and then the gear icon.
  2. Navigate to “Developers” > “Linux development environment”.
  3. Click “Remove” next to “Linux development environment”. Confirm the action.
  4. After removal, click “Install” to set up Linux again. This creates a clean container.

This method is drastic but effective. It removes all apps, files, and settings. Only use it if you don’t need anything in the Linux container.

Frequently Asked Questions

Can I Uninstall Linux Apps Without The Terminal?

Yes, you can use the Linux apps folder in the launcher or the Software Center. Both provide a graphical interface for removal. However, some apps only appear in the terminal.

What’s The Difference Between “Remove” And “Purge” In APT?

The remove command deletes the app but keeps configuration files. purge removes everything, including settings. Use purge if you don’t plan to reinstall the app.

Why Can’t I Find The Linux Apps Folder On My Chromebook?

Linux support must be enabled first. Go to Settings > Developers > Linux development environment and turn it on. After setup, the folder appears in the launcher.

Will Uninstalling A Linux App Affect My Android Apps?

No, Linux and Android apps run in separate environments. Removing a Linux app has no impact on Android apps or your Chrome browser.

How Do I Know The Exact Package Name For An App?

Use dpkg -l in the terminal to list all installed packages. Look for the app’s name in the output. You can also search online for the package name of a specific app.

Now you have all the tools to manage Linux apps on your Chromebook. Whether you prefer the GUI or the terminal, uninstalling is straightforward once you know the right commands. Keep your system clean and enjoy the flexibility of Linux on ChromeOS.