Hi,
Do you have admin or super user privilages in the Linux account, if you do not have then some installation scripts may hang or fail. I suggest you re-run the installation using the sudo command..
sudo ./setup
and check if it will go through this time. For the license setup, are you hosting the license in the same system or a different system? If its in the same system, then you need to point to the license.dat file via the LM_LICENSE_FILE environment variable.
export LM_LICENSE_FILE=<path to license file>
and then press enter. Now invoke Quartus and it should be able to work. If its on another system, you need to have a floating license and start the license on that system using the lmgrd -c <path to license file> and then on your system set the LM_LICENSE_FILE parameter to point to <port>@localhost.localdomain