§2024-06-07
¶ Using snap on ubuntu system
$ sudo snap install caddy --edge # download from edge channel
root@pi3HAProxy:/home/alexlai# snap list
Name Version Rev Tracking Publisher Notes
caddy v2.8.4 573 latest/edge nixberg -
certbot 2.11.0 3832 latest/stable certbot-eff✓ classic
core20 20240416 2321 latest/stable canonical✓ base
snapd 2.63 21761 latest/stable canonical✓ snapd
root@pi3HAProxy:/home/alexlai# snap list caddy
Name Version Rev Tracking Publisher Notes
caddy v2.8.4 573 latest/edge nixberg -
root@pi3HAProxy:/home/alexlai# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
root@pi3HAProxy:/home/alexlai# ls /snap/bin
caddy certbot
# ls -l /var/snap/caddy/
total 8
drwxr-xr-x 2 root root 4096 Jun 7 06:01 573
drwxr-xr-x 2 root root 4096 Jun 7 06:01 common
lrwxrwxrwx 1 root root 3 Jun 7 06:01 current -> 573