How to completely uninstall certbot-auto and reinstall

Hello, I’m having bad headache with certbot-auto. I’ve accidentally upgraded certbot-auto. My purpose was to renew the certificate, but now any commands related to ./certbot-auto doesn’t work. So I want to completely uninstall certbot-auto, and install it from scratch. I’ve searched about it, and people said delete /opt/eff.org/certbot/ and some more directories, but I’m not sure what to delete. Some posts said delete ~/.local/share/letsencrypt/, but I don’t have ~/.local. So what should I do to completely delete certbot files? And after uninstalling, do I just reinstall certbot-auto like from the scratch?
(like starting from
wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto)

My web server is (include version):

nginx

The operating system my web server runs on is (include version):

Amazon Linux AMI release 2018.03

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):

this command not working now, but before upgrade, it was 0.27.1. And it seems like it’s upgraded to 0.30.0(or 0.32.0, not sure…).

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