How do I uninstall Heroku?

7,411

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.

Share:
7,411

Related videos on Youtube

Vinayak Garg
Author by

Vinayak Garg

I love programming in C++. Also know Java, Python, PHP, Javascript. Currently working on Android. In my free time I am working on Unity 5 game, requiring me to learn Blender, C# and Photoshop. "Luck is what happens when preparation meets opportunity." ~ Lucius Annaeus Seneca Hablo un poco de español

Updated on September 18, 2022

Comments

  • Vinayak Garg
    Vinayak Garg almost 2 years

    I installed Heroku using

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

    Please tell me how to uninstall Heroku.

    • Rinzwind
      Rinzwind about 11 years
      To anyone: 1 of the easiest method to -completely- -brick- your system is to run scripts from the web. NEVER EVER do things like this without analyzing the script and understanding what you are doing. I would rather you post the script here and have confirmed what it does that to just execute it and ask afterwards what to do ;)
  • Rinzwind
    Rinzwind about 11 years
  • Vinayak Garg
    Vinayak Garg about 11 years
    Thanks! That worked. I will take care to read script before running it.
  • Rinzwind
    Rinzwind about 11 years
    @VinayakGarg good... I still added a warning though... if this was actual malware you could have in real trouble...
  • somoso
    somoso about 11 years
    It cannot be stressed enough how dangerous it is to run random scripts from the internet without checking the contents of the script. All it would have took was one line of "rm -rf /" in between the sudo sh <<SCRIPT block to completely annihilate the whole OS.