2

I installed Heroku using

wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh

Please tell me how to uninstall Heroku.

Dagelf
  • 1,476

2 Answers2

6

So I downloaded the script and it seems that all it does is insert its own repository URL into your sources list and then uses the apt-get package manager to install it.

To remove, it is really simple, just open up a terminal and type:

sudo apt-get remove heroku-toolbelt

Also, as a word of warning, try not to use scripts written by others to install applications. Some of them can contain extremely dangerous commands which could cause irreversible damage to your data. If you are unsure how to install an application, you can always search Ask Ubuntu for similar questions and answers.

somoso
  • 664
1

If you have installed the snap version of Heroku, you can do this:

snap remove heroku

Be sure to make a backup of your configuration if you will need it again.

matigo
  • 24,752
  • 7
  • 50
  • 79