Start from a release tarball or building the project yourself.

Then configure $PREFIX with the path where you want to install Hue by running:

PREFIX=/usr/share make install
cd /usr/share/hue

You can install Hue anywhere on your system, and run Hue as a non-root user.

It is a good practice to create a new user for Hue and either install Hue in that user’s home directory, or in a directory within /usr/share.