Hello,
In the documentation you share, the steps match what you're suggesting. This is specifically for SPARC, Solaris 11. You can download the agent from the link in any way and your curl command is one valid way. Then, the install command you pass is the same as in the instructions, so it is correct. The deployment variables you're using look correct too. In this article:
you can see the list of possible deployment variables and they match what you're giving. Then link I'm sending you is for the Linux platform because there isn't one for Solaris, but I'm checking the same for MacOS, AIX and even Windows and all have at least these two variables available, so all in all, the procedure as you describe is correct.
Exact steps (same you posted):
Best regards,
Lucas