0

I installed Android Studio from here from terminal.How to uninstall it completely ?

There are previous questions in Ubuntu with same title but none explained correct answer!(One question Explained to uninstall when downloaded tar file but not for terminal download)

Ravan
  • 9,379

2 Answers2

1

If you installed the .deb file then you can remove it using

sudo dpkg --remove android-studio

Or if you installed it via apt-get then you can remove it using

sudo apt-get remove android-studio

Have a read of How can I uninstall software? for more details.

AJefferiss
  • 1,154
  • 9
  • 17
0

If trying to uninstall android studio from ubuntu 18.04 the try using this

sudo apt-get remove android-studio

else if you manually installed from .deb file then this will help you out-

sudo dpkg --remove android-studio

Now in case if you installed android studio using snap ,then above commands will not work and show you following errors-

dpkg: warning: ignoring request to remove android-studio which isn't installed

You can try using umake to delete android studio-

umake android android-studio --remove

but in case it shows some error like this

ERROR: You can't remove Android Studio as it isn't installed

try using following command.

If you installed android studio using snap installation,then using this command will uninstall android studio-

snap remove android-studio
Sourav Mondal
  • 51
  • 1
  • 3