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

đź‘‹ While you are here

Reinvent your career. Join DEV.

It takes one minute and is worth it for your career.

Get started

Top comments (0)

đź‘‹ Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay