Install the latest certbot

Hi,

I see that my distro propose me certbot 2.1.0-4 (released: Dec 2022 ) with APT

Should I target a newer version of certbot 5 ? if yes how should I install it ? I don't see any .deb or .appimage in the cerbot release :confused:

My distro is: MX Linux 23.6 ( 13 April 2025 )

I only need the cerbot, no automation tool to manage the HTTP server.

Thanks.

Officially, snap.

Also available, pip and OCI container.

You can use 2.x if it works for you. Check if you need it at all, a lot of webservers include an ACME client now.

(Debian stable has 4.0.0 -- don't know how wise it would be to install that package)

Thank you @9peppe

for the pip container.. how then interact with cerbot ? trough Python ? or just bash but within a venv ?

A venv is expected. This isn't really an advisable way of getting certbot.

Instructions are here:

2 Likes

Thank @9peppe , I don't use snap

why pipis not recommended if it's offer as a way to install it ?

It's not recommended as in "you can, you definitely can, but please only do so if you know what you're doing"

2 Likes

Ho.. ok then.
I work a lot with venv I will give it a try.

1 Like

with pip it works great !