How to uninstall Caddy?

hello, I was checking out reverse proxy and tried caddy but I am not comfortable with caddy so I tried to uninstall it but it didn’t work. Please tell me the command to uninstall Caddy 2.3.0 on The Raspberry Pi os

How did you install it? I can’t give you the appropriate instructions if you don’t specify which method you actually used to install it.

Method of installations:

sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.155B6D79CA56EA34.key' | sudo apt-key add -
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/config.deb.txt?distro=debian&version=any-version' | sudo tee -a /etc/apt/sources.list.d/caddy-stable.list
sudo apt update
sudo apt install caddy

Okay, so all you need to do is:

sudo rm /etc/apt/sources.list.d/caddy-stable.list
sudo apt remove caddy
1 Like

Thank you for the help

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.