2

I ran this command sudo dpkg -l *certbot* and I got this certbot and the version number listed in the terminal:

enter image description here

Next I ran this 2 commands sudo apt-get remove certbot and sudo apt autoremove and I though the certbot would be removed. But when I ran again sudo dpkg -l *certbot*, it still not removed and it still show the same as the image above.

How do I completely remove certbot? Thanks

Nat
  • 121
  • 1
  • 1
  • 2

2 Answers2

2

just run the following command after it

sudo apt purge certbot

Thanks

0

The following command only removes the package itself so you cannot run it anymore:

apt remove certbot

But configuration files are still remained at /etc/

If you intend to remove all existing files, the run:

apt purge certbot
Saeed
  • 443