Help deleting a Linux “program”

I did this and now I want to totally delete everything I did. Thank you

Add Sonarr's repository to your software source

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0xA236C58F409091A18ACA53CBEBFF6B99D9B78493
echo "deb http://apt.sonarr.tv/ master main" | sudo tee /etc/apt/sources.list.d/sonarr.list

If you have issues with the repo being https you can install the apt-transport-https package or switch to http

Install/Update Sonarr

sudo apt update
sudo apt install nzbdrone 

Start Sonarr

mono --debug /opt/NzbDrone/NzbDrone.exe


I'm assuming you're using Ubuntu, or at least something Debian-based with APT as your installation instructions indicate. In that case, I'd recommend reading this answer (a bit dated but will still work) to find the best option for you:

(Here, "nzbdrone" is "packagename".)

Casual Googling tells me you may also wish to delete /opt/NzbDrone if it still exists after this, so:

sudo rm -r /opt/NzbDrone

After doing this, you'll still have the repo listed in your sources and their key added. This isn't really a problem; it just makes it available to install if you explicitly do so again in the future (so you could skip that first step). If that bothers you:

Thank you, sir

Just have to insert my worthless 2 cents....

Be very mindful when using "rm -r" , watched an "experienced" admin run one from root. I usually end up changing into the parent directory and just use "rm -r foldername".

1 Like