How to Install and Uninstall lego Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 23,2024

1. Install "lego" package

This guide let you learn how to install lego on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install lego

2. Uninstall "lego" package

Please follow the guidance below to uninstall lego on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove lego $ sudo apt autoclean && sudo apt autoremove

3. Information about the lego package on Ubuntu 20.04 LTS (Focal Fossa)

Package: lego
Architecture: amd64
Version: 3.2.0-1
Built-Using: golang-1.13 (= 1.13.5-1ubuntu1), golang-github-aws-aws-sdk-go (= 1.21.6+dfsg-2), golang-github-cenkalti-backoff (= 3.1.1-1), golang-github-fatih-structs (= 1.0.0-1), golang-github-hashicorp-golang-lru (= 0.5.3-1), golang-github-jmespath-go-jmespath (= 0.2.2-3), golang-github-kolo-xmlrpc (= 0+git20150413.0826b98-3), golang-github-miekg-dns (= 1.0.4+ds-1ubuntu1), golang-github-mitchellh-mapstructure (= 1.1.2-1), golang-github-nrdcg-goinwx (= 0.6.1-2), golang-github-ovh-go-ovh (= 0.0~git20181109.ba5adb4-5), golang-github-urfave-cli (= 1.20.0-1), golang-github-vultr-govultr (= 0.1.4+git20190904.cb344cc-2), golang-go.crypto (= 1:0.0~git20190701.4def268-2), golang-go.opencensus (= 0.22.0-1), golang-golang-x-net (= 1:0.0+git20191112.2180aed+dfsg-2), golang-golang-x-oauth2 (= 0.0~git20190604.0f29369-2), golang-golang-x-sys (= 0.0~git20190726.fc99dfb-1ubuntu2), golang-golang-x-text (= 0.3.2-2), golang-google-api (= 0.7.0-2build4), golang-google-cloud (= 0.43.0-1build4), golang-google-genproto (= 0.0~git20190801.fa694d8-2build4), golang-google-grpc (= 1.22.1-1ubuntu1), golang-gopkg-ini.v1 (= 1.51.0-1), golang-gopkg-square-go-jose.v2 (= 2.4.0-1), golang-goprotobuf (= 1.3.2-2)
Priority: extra
Section: universe/devel
Source: golang-github-xenolf-lego
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 19518
Depends: libc6 (>= 2.4), ca-certificates
Filename: pool/universe/g/golang-github-xenolf-lego/lego_3.2.0-1_amd64.deb
Size: 4955876
MD5sum: 395f84f9a20eae3a31cca594c4c6df97
SHA1: ea22ade520f683799021da5f5e021938ba6d304e
SHA256: c8bcece4276533cfb1ecdf3a8b587f57d1ec1351a0ac05e6c0d74321f8b9641c
Homepage: https://github.com/go-acme/lego
Description: Let's Encrypt client
Description-md5: dea7f3bf8cbf9108a480cd924093cdb3