The operating system my web server runs on is (include version): Windows Subsystem for Linux 2
Hi, everyone.
I have read instructions about certbot.
I found that if I select manual and ubuntu 20.04, the instructions suggest me to install certbot through snapd.
But as you can see, I am using WSL2 right now and snapd seems not work correctly.
Can I try sudo apt install certbot to get the latest version?
Alternately (and not an actual recommendation; as I haven't used either of these), you might want to test out this "hack" that allows you to install snapd on WSL2:
It means the recommended method is probably using "snap", but the "pip" method is offered as an alternative. Though not as thoroughly supported. The virtual environment is a Python thing and the commands for setting it up are included in the "pip" instructions.
pip is really a backup method to using certbot. Certbot is just a normal Python package, but managing the virtual environment and keeping it up to date is an effort for those unfamiliar with Python. The other installation methods automate all this.
In this situation, there doesn’t seem to be any preferred method of installation that is compatible, so ‘pip’ is a decent candidate to explore.