How to uninstall an app on Debian 12

Endrit Qerreti

Endrit Qerreti

In this tutorial, you will learn how to uninstall an app from Debian 12.

There are several ways to uninstall a package from your system.

However, in this tutorial we are going to cover two ways of doing this, by using the Software Manager and by using the apt package manager on the terminal.

Uninstall a package with Gnome Software

On Debian 12, you can use the Gnome Software, to manage packages. Gnome Software allows you to install an app, update it and remove it.

Gnome Software is already installed on Debian 12, so there's no need to install any other package or something else to make it work.

To launch Gnome Software, first open 'Gnome Menu' by clicking to the Activities button

Next, click to the search box, and search for 'Software', this will show you all apps that are using the keyword Software, click on the Gnome Software as shown in the image below

And now you will see this window, this is the Gnome Software GUI

Next, you need to go to the 'Installed' tab. Installed tab on the Gnome Software shows all the apps that are installed on your system.

Now, simply select the app that you want to uninstall from your system, and click to the 'Uninstall' button to uninstall it

For example, we are going to uninstall 'Thunderbird'

Now, once you click on the 'Uninstall' button, you will get the following prompt on your screen. You need to authenticate using sudo password in order to be able to remove a package from Debian 12

Next, you need to confirm that you want to uninstall this package. To do this, simply choose 'Uninstall' option

And the uninstalling process will begin. The status on the uninstall button will change to 'Uninstalling'.

That's it! The package is uninstalled now.

Uninstall a package with Terminal

To uninstall a package with terminal, is easy, and it can be done by using the remove command. This command allows you to remove any package from your system, as long as you know the name of the package.

If you are unsure about the package name, you can use the command below to view all packages that are installed on your system

Open terminal, and run

dpkg --list

And you should see details about the packages that are installed on your system.

To browse on this window, you can use the arrow keys.

Alternatively, you can also use the apt list command with --installed option.

apt list --installed

Instead of scrolling to find the package name that you want to uninstall, you can use grep function to do this for you faster.

For example, let's say we want to know about thunderbird package, then to check if thunderbird is installed on our system , we can do

apt list --installed | grep thunderbird

As we can see, thunderbird appears to be installed on our system

Now to uninstall the package, simply run the command below

sudo apt remove thunderbird

thunderbird is the name of the package that we are uninstalling

Press Y to confirm, and the uninstalling process should start. Wait until the progress shows 100% before you close the terminal.

Conclusion

Whether you are a terminal, or GUI fan, in this tutorial we covered both ways of removing an app from your Debian 12 system.