Gloss is easily installed using the Cabal tool. Having installed Cabal, one can run cabal install gloss
to install Gloss.
Alternatively the package can be built from source, by downloading the source from Hackage or GitHub, and doing the following:
gloss/gloss-rendering/
directory and do cabal install
gloss/gloss/
directory and once more do cabal install