MATLAB on Headless Linux

I am trying to install MATLAB on a headless Linux server at work, and it is ridiculously miserable. I can’t believe that this is the industry standard. It is no wonder that people are switching to Python, Octave and Maxima. Between free, gratis systems and expensive with horrible installation, there is little to recommend MATLAB.