5. How to Uninstall Apps via Terminal on Chromebook

5. How to Uninstall Apps via Terminal on Chromebook

Uninstalling apps on a Chromebook is normally a simple course of that may be executed via the Settings menu. Nevertheless, there could also be instances when it’s worthwhile to uninstall an app through the Terminal, particularly if the app is just not listed within the Settings menu or if you’re experiencing points uninstalling it via the normal technique.

To uninstall an app through the Terminal, you have to to know the bundle identify of the app you need to take away. Yow will discover the bundle identify by opening the Terminal and typing the next command:
“`
dpkg -l | grep
“`
Exchange with the identify of the app you need to uninstall. The bundle identify shall be listed within the output of the command.

Upon getting the bundle identify, you may uninstall the app by typing the next command:
“`
sudo apt-get take away “`
Exchange with the bundle identify of the app you need to uninstall. You may be prompted to enter your password. Upon getting entered your password, the app shall be uninstalled.

Accessing the Terminal

The Terminal is a command-line interface that lets you entry and handle your Chromebook’s system settings and information. To entry the Terminal, observe these steps:

  1. Press the “Ctrl” + “Alt” + “T” keys concurrently. This can open a brand new Terminal window.
  2. If the Terminal window doesn’t open, you may also entry it via the ChromeOS Settings menu. To do that, click on on the clock within the backside proper nook of the display, then choose the “Settings” icon. Within the Settings menu, scroll down and click on on the “Superior” tab. Below the “Builders” part, you will discover the “Terminal” possibility. Click on on this feature to open the Terminal window.
  3. As soon as the Terminal window is open, you may start getting into instructions to handle your Chromebook’s system settings and information. To be taught extra concerning the instructions obtainable within the Terminal, you may sort “assist” and press enter. This can show an inventory of all of the obtainable instructions and their descriptions.
Entry the Terminal
Press “Ctrl” + “Alt” + “T”
Go to Settings > Superior > Builders > Terminal

Itemizing Put in Apps

To checklist all put in apps in your Chromebook utilizing the Terminal, observe these steps:

  1. Open the Terminal utility.
  2. Sort the next command and press Enter:
  3. dpkg -l | grep "chromium"

  4. This can show an inventory of all put in apps, together with the bundle identify and model quantity.

Figuring out the Package deal Title

The bundle identify is the distinctive identifier for every app. It’s used to put in, replace, and take away apps. To determine the bundle identify of an app, observe these steps:

  1. Discover the app within the checklist displayed by the dpkg -l | grep "chromium" command.
  2. The bundle identify is listed within the first column of the desk.

Instance

The next desk exhibits an instance of the output of the dpkg -l | grep "chromium" command:

Package deal Title Model
chromium-browser 108.0.5359.94-1
chromium-os-packages-auto-update 21854.0.0-rc1

On this instance, the bundle identify of the Chromium browser is chromium-browser.

Figuring out the App to Uninstall

To uninstall an app through Terminal, you will need to first determine its App ID. This distinctive identifier will be present in a number of methods:

1. App Web page on Google Play Retailer: Go to the app’s web page on the Google Play Retailer and study the URL in your browser’s handle bar. The App ID is often the final phase of the URL after “id=” or “particulars?id=”.
2. Terminal Command (for Chrome OS 90 or later): Open Terminal and sort `apt list-installed`. This command shows an inventory of all put in apps together with their App IDs.
3. Terminal Command (for Chrome OS 89 or earlier): Use the next command to fetch the App ID for a selected app:

“`
sudo dpkg -s
“`

Exchange `` with the precise identify of the app you want to uninstall. The App ID shall be displayed inside the Terminal output, sometimes within the line beginning with “Package deal:”.

Upon getting recognized the App ID, you may proceed to the following step to uninstall the app through Terminal.

Utilizing the “apt-get” Command

The “apt-get” command is a strong device that can be utilized to handle software program packages on a Chromebook. To uninstall an app utilizing the “apt-get” command, observe these steps:

  1. Open the terminal by urgent “Ctrl” + “Alt” + “T.”
  2. Sort the next command to take away the app:

    sudo apt-get take away [app-name]

    Instance
    sudo apt-get take away gedit

    Exchange “[app-name]” with the identify of the app you need to uninstall.

  3. Enter your password when prompted.
  4. The app shall be uninstalled.
  5. Listed here are some further suggestions for utilizing the “apt-get” command:

    • You should utilize the “tab” key to autocomplete the identify of the app you need to uninstall.
    • You should utilize the “-y” choice to robotically reply “sure” to any prompts.
    • You should utilize the “-f” choice to power the uninstallation of an app, even when it isn’t put in.

    Confirming App Elimination

    After getting into the above command, the terminal will immediate you to verify the uninstallation. Sort “y” (with out quotes) and press Enter to verify the elimination. The app shall be uninstalled, and the terminal will show a affirmation message.

    To confirm that the app has been efficiently uninstalled, you need to use the next command:

    dpkg -l | grep [app name]

    If the command returns no outcomes, the app has been efficiently uninstalled. Here is an instance desk summarizing the method:

    Command Description
    sudo apt-get take away [app name] Removes the app and its dependencies
    sudo apt-get autoremove Removes any unused dependencies
    dpkg -l | grep [app name] Verifies that the app has been uninstalled

    Verifying Uninstallation

    To confirm that an app has been efficiently uninstalled through the terminal, observe these steps:

    1. Open Terminal

    Press Ctrl + Alt + T to open the Terminal window.

    2. Record Put in Apps

    Enter the next command to show an inventory of all put in apps:
    dpkg --list

    3. Discover the App Package deal Title

    Find the app you need to confirm within the checklist. The bundle identify is often displayed within the “Title” column.

    4. Test Uninstallation Standing

    To verify if the app is uninstalled, enter the next command, changing [package_name] with the bundle identify you present in step 3:
    dpkg -s [package_name]

    5. Examine Output

    If the app is uninstalled, the output will look just like the next:
    dpkg-query: bundle '[package_name]' is just not put in

    6. Troubleshooting

    If the app remains to be listed as put in after executing the uninstallation command, strive the next troubleshooting steps:

    • Be sure that the terminal has superuser (root) privileges by prefixing instructions with sudo.
    • Test that the app is just not a core Chromebook app that can’t be uninstalled.
    • Restart the Chromebook and check out uninstalling the app once more.
    • Contact the app developer for help.

    Troubleshooting Widespread Points

    1. “dpkg” command not discovered

    Should you encounter the error “dpkg: command not discovered,” it sometimes signifies that the dpkg bundle supervisor is just not put in in your Chromebook. To resolve this situation, you may observe these steps:

    1. Open the Terminal app.
    2. Sort the next command and press Enter:
    3. sudo apt-get set up dpkg
    4. Enter your password when prompted.
    5. As soon as the dpkg bundle is put in, retry the command to uninstall the app.

    2. “No such file or listing” error

    Should you obtain a “No such file or listing” error, it normally implies that the app you are attempting to uninstall is just not put in in your Chromebook. Double-check the bundle identify and guarantee that you’re getting into it appropriately.

    3. “dpkg: dependency issues stop…” error

    This error can happen if the app you are attempting to uninstall has dependencies on different packages. To resolve this situation, you need to use the next command to take away the dependencies:

    sudo apt-get take away --auto-remove [package name]

    As soon as the dependencies are eliminated, retry the command to uninstall the app.

    4. “Permission denied” error

    Should you encounter a “Permission denied” error, it implies that you wouldn’t have ample permissions to uninstall the app. Just remember to are utilizing the sudo command to raise your privileges.

    5. “Operation not supported” error

    This error can happen if you’re attempting to uninstall an app that’s pre-installed in your Chromebook. Pre-installed apps can’t be eliminated utilizing the dpkg command.

    6. “Package deal is just not put in” error

    Should you obtain a “Package deal is just not put in” error, it implies that the app you are attempting to uninstall is just not put in in your Chromebook. Double-check the bundle identify and guarantee that you’re getting into it appropriately.

    7. Different points

    Should you encounter every other points whereas uninstalling apps through the Terminal, you may consult with the next desk for widespread error messages and their doable options:

    Error Message Doable Resolution
    “dpkg: error processing…” Test the error message and guarantee that you’ve the right bundle identify.
    “dpkg: dependency issues stop…” Manually take away the dependencies utilizing the –remove-without-dependencies possibility.
    “dpkg: unrecognized possibility…” Double-check the command syntax and guarantee that you’re utilizing the right choices.
    “dpkg-query: bundle…” The bundle could have already been uninstalled. Use the dpkg -S command to verify if the bundle remains to be put in.

    Find out how to Uninstall Apps By way of Terminal

    To uninstall an app through terminal, open the terminal by urgent Ctrl+Alt+T. Then, sort the next command:

    sudo apt-get take away [app-name]

    For instance, to uninstall the Google Chrome browser, you’ll sort:

    sudo apt-get take away google-chrome-stable

    Upon getting entered the command, press Enter and enter your password when prompted. The app will then be uninstalled.

    Different Strategies for Uninstalling Apps

    1. By way of the Launcher

    Proper-click on the app icon within the launcher and choose Uninstall.

    2. By way of the Settings App

    Go to Settings > Apps and choose the app you need to uninstall. Then, click on on the Uninstall button.

    3. By way of the Recordsdata App

    Go to the Recordsdata app and navigate to the Linux Recordsdata folder. Then, right-click on the app’s .deb file and choose Uninstall.

    4. By way of the GNOME Software program App

    Open the GNOME Software program app and seek for the app you need to uninstall. Then, click on on the Uninstall button.

    5. By way of the Package deal Supervisor

    Open a terminal and sort the next command:

    dpkg -r [app-name]

    6. By way of the APT Command

    Open a terminal and sort the next command:

    apt-get take away [app-name]

    7. By way of the Yum Command

    Open a terminal and sort the next command:

    yum take away [app-name]

    8. By way of the Pacman Command

    Open a terminal and sort the next command:

    pacman -R [app-name]

    Finest Practices for App Uninstallation

    To make sure a clear and environment friendly app uninstallation course of in your Chromebook, observe these finest practices:

    1. Use the Uninstall Possibility:

    At all times go for the built-in uninstall possibility from the app launcher or settings to make sure a whole and protected elimination.

    2. Uninstall Unused Apps:

    Recurrently assessment put in apps and take away any that you just now not use to unencumber space for storing and enhance efficiency.

    3. Test App Dependencies:

    Earlier than uninstalling an app, confirm if it has any dependencies on different apps. Uninstalling these dependencies may result in system points.

    4. Clear App Knowledge and Cache:

    To utterly take away app-related knowledge, clear its native storage, knowledge, and cache earlier than uninstalling.

    5. Disable Extensions:

    Should you’re uninstalling an app with related extensions, disable or take away them first to keep away from any potential conflicts.

    6. Use Powerwash:

    In case of persistent app-related points, think about using the Powerwash function to reset your Chromebook and take away all put in apps.

    7. Test for Updates:

    Ensure that your Chromebook’s working system is updated as it could comprise bug fixes or enhancements for app uninstallation.

    8. Troubleshoot App Elimination:

    Should you encounter any errors throughout app uninstallation, seek the advice of official documentation or help boards for troubleshooting suggestions.

    9. Uninstall Apps By way of Terminal (Superior):

    For superior customers, the terminal command line gives a exact technique for app uninstallation. To do that, open the Terminal app (Ctrl+Alt+T) and enter the next command:

    How To Uninstall App By way of Terminal

    To uninstall an app through terminal, observe these steps:

    1. Open the Terminal app.
    2. Sort the next command, changing [app_name] with the identify of the app you need to uninstall:

      sudo apt-get take away [app_name]

    3. Press Enter.
    4. Enter your password when prompted.
    5. Press Enter once more.
    6. The app shall be uninstalled.
    7. Extra Sources for Help

      Should you want additional help, you may consult with the next assets:

      • Chromebook Assist Heart: https://help.google.com/chromebook/?hl=en
      • Chromium OS Builders: https://chromium.googlesource.com/chromiumos/docs/+/HEAD/user_guide_advanced.md
      • Ubuntu Boards: https://ubuntuforums.org/

      10. Extra Ideas for Uninstalling Apps

      Listed here are some further suggestions for uninstalling apps through terminal:

    8. In case you are not sure of the precise identify of the app you need to uninstall, you need to use the next command to seek for it:

      dpkg -l | grep [app_name]

    9. If you wish to uninstall a number of apps without delay, you need to use the next command, changing [app_name1], [app_name2], and many others. with the names of the apps you need to uninstall:

      sudo apt-get take away [app_name1] [app_name2] …

    10. If you wish to take away the entire apps which can be put in in your Chromebook, you need to use the next command:

      sudo apt-get purge *

      Warning: This command will take away the entire apps which can be put in in your Chromebook, together with any apps that you’ve put in from the Google Play Retailer.

    11. Should you encounter any issues when uninstalling apps through terminal, you may strive restarting your Chromebook after which attempting once more.
    12. Find out how to Uninstall Apps Utilizing the Terminal on a Chromebook

      The Terminal is a strong command-line interface on Chromebooks that lets you carry out superior duties, together with uninstalling apps. This technique is especially helpful if the app doesn’t seem within the Launcher or Settings menu, or if the app is inflicting issues.

      1. Press Ctrl+Alt+T to open the Terminal.
      2. Run the next command, changing `app_name` with the identify of the app you need to uninstall:
      3. sudo apt-get take away app_name
        
      4. Enter your Chromebook’s password when prompted.
      5. Sort y to verify the uninstallation.

      As soon as the command completes, the app shall be uninstalled out of your Chromebook.

      Folks Additionally Ask

      How do I discover the app identify to uninstall?

      To seek out the app identify, open the Terminal and run the next command:

      dpkg -l | grep put in | grep app_name
      

      What if the app is just not listed within the Terminal?

      If the app is just not listed within the Terminal, it isn’t put in through the bundle supervisor. You may strive trying to find the app within the Launcher or Settings menu, or contacting the app developer for help.

    Command Description
    dpkg –remove Uninstalls a selected app bundle
    dpkg –purge Uninstalls an app bundle and removes its configuration information

Leave a Comment