I have built and deployed Hue 4.0.0 on CentOS just fine. What exact problems are you referring to?
Granted, I have done this within an actual production system, not the sandbox, but I don't see why it would be any different.
If using the Dockerized sandbox, I would recommend setting up Hue within docker-compose. And if you are using that route, just use the Hue docker container and configure the hue.ini file accordingly. https://github.com/cloudera/hue/tree/master/tools/docker
If you want to try to install it via Ambari, there is a service for that too. https://github.com/EsharEditor/ambari-hue-service