DEV Community

Cover image for Removing Applications Installed via dpkg: A Step-by-Step Guide
MUHAMMED YAZEEN AN
MUHAMMED YAZEEN AN

Posted on

Removing Applications Installed via dpkg: A Step-by-Step Guide

Introduction:

Installing software packages on Linux systems using the dpkg command is a common practice. However, sometimes you might need to uninstall these applications. This guide outlines the steps to remove applications installed via dpkg in a straightforward manner.

 

Steps to Uninstall an Application Installed via dpkg:

 

1. Identify the Package Name:

First, you need to find the exact name of the package you want to uninstall. Use the following command to list all installed packages containing a specific keyword (replace PACKAGE_NAME with the actual keyword, e.g., skype):

dpkg -l | grep PACKAGE_NAME

For example, to find Skype packages:
dpkg -l | grep skype

2. Remove the Application:

Once you've identified the correct package name, use the following command to remove the application:

sudo dpkg -r skype-package-name

Replace skype-package-name with the actual name of the package you found in the previous step.

example

Top comments (0)