DEV Community

Gabriela Diniz
Gabriela Diniz

Posted on

How uninstall completely anything app in Ubuntu

In the first place, you need to know the name of the package to be uninstalled. For this there is a specific command in Linux that displays detailed information about all the names, versions and states of the packages installed on your system. We will only need the name of the package that we want to delete.

dpkg --list
Enter fullscreen mode Exit fullscreen mode

Image description


Now we will use a command that completely removes the package and all configuration files associated with it. By placing a * after the name of the package we want to uninstall, we specify that we want to uninstall any installed version of that package on the system, removing it completely.

sudo apt purge simplescreenrecorder*
Enter fullscreen mode Exit fullscreen mode

Image description


Finally, we use the following command to remove the dependencies and clean up/free up unnecessary space in disk space.

sudo apt autoremove
Enter fullscreen mode Exit fullscreen mode

Image description


✨ Done! ✨

Top comments (0)