List all installed packages and their versions

Hi!

I have tried deploying tljh on an Ubuntu 20.04 instance. Is there an easy way to generate the current libraries installed, something similar to pip freeze?