Gleam can be installed with snap by running these commands:

sudo snap install --classic gleam