Is carla simulator is completly open source

I am trying to install carla on ubuntu 18.04 machine but as per the document we need to create account in GitHub and Unreal engine. Whether carla is completly open source or is it dependent on unreal engine? Do we need to buy licencing for unreal engine in order to complete setup carla simulator in linux machine? Are there any alternatives?