4
$\begingroup$

I am trying to activate Mathematica from the command line (I am logged remotely) by connecting to a remote network license server, but no success so far. I run the command math but Mathematica keeps asking me for the activation key and password. Is it possible to choose the network license server as the way to activate Mathematica from the command line?

$\endgroup$
4
$\begingroup$

I believe the easiest way is to just edit the mathpass file to contain a line that has !server, where server is the name of your network license server.

tutorial/ConfigurationFiles should help you determine where the mathpass file is for your platform. (If it doesn't exist, just create it.)

$\endgroup$
  • $\begingroup$ I created the mathpass file in /usr/share/Mathematica/Licensing/ and put the line as you advised. It worked! Thanks! $\endgroup$ – Carlos Mendoza Sep 3 '18 at 19:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.