How to update LXC/LXD to the latest version?

,

See my answer here Lxd version with snap , get 4.4, and show 3.0.3