certbot, python,

Fix 'No package python3-certbot-nginx available.' error

Jul 18, 2022 · 1 min read · Post a comment

While installing some Certbot packages I stumbled upon the No package python3-certbot-nginx available. error. Let’s take a look.


  • Certbot
  • sudo privileges


Step 1. If you face the issue on the RHEL-based OS, it means that you don’t have python3 on the machine. One solution is to install Python 3 or use Python 2.

sudo yum install certbot python-certbot-nginx

Step 2. It’s pretty much the same about Debian-based OS. If you face the opposite issue: No package python-certbot-nginx available. then it means that python2 is no longer supported on that OS, and you should use Python 3.

sudo apt-get install python3-certbot-nginx


Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.