How to remove a program?

Hi, how can I remove a program from GNOME completely? I did not succeed through the graphical interface, is it done from the terminal?

try with this:
sudo pacman -Rns package name
and manually delete its leftovers from home directory

I’m going to delete Android Studio, but when I write android-studio it says package not found

output from:
pacman -Qs android-studio

How did you install it?

3 Likes

Maybe you installed a snap o flatpak

I’d do paru android studio and then, from the list, see which is installed.

1 aur/android-studio 2021.2.1.15-1 (+1008 7.33)

No -this one, doesn’t have [Installed] after it, or I will type paru -Rnsuv android-studio to uninstall.

If it isn’t marked installed there, then check snaps (I think it’s snap list but I don’t do snaps, so I can’t check) and flatpaks (flatpak list).

In Pamac - the ‘add/remove’ from the menu - you shouldn’t be too specific.

Type android studio with no hypen.

Then you see the Flatpak, AUR, and anything else enabled all listed.

In the past I had downloaded Android Studio from the official website, manually unpacked and moved it in the /opt directory. Then I created a desktop app of Android Studio in ~/.local/share/applications/<app-name>.desktop
The installation of Android Studio is possible independent of any package managers e.g. pacman, AUR, flatpak etc.

But I just removed it manually, that’s not the package manager’s job.

1 Like