Academic License Application#
Apply through the IP-free certification license application channel provided by the Gurobi China team.
http://www.gurobi.cn/NewsView1.Asp?id=4
Software Download#
Download from the Gurobi official website https://www.gurobi.com/downloads/
Installation#
Assuming the installation directory is /home/your_username/software
Copy the installation file to this directory, then run the extraction command
tar -xvfz /home/your_username/software/gurobi11.0.3_linux64.tar.gz
Then enter the /home/your_username/software/gurobi1103/linux64/bin
directory, activate the academic license, and save the key file.
grbgetkey d88xxxxxxxxxc
Assuming the key storage directory is /home/your_username/software/gurobi_licence
Then configure the environment variables. Open the ~/.bashrc
file and add the environment variables at the end of the file
# >>> gurobi >>>
export GUROBI_HOME="/home/your_username/software/gurobi1103/linux64"
export PATH="${PATH}:${GUROBI_HOME}/bin"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GUROBI_HOME}/lib"
export GRB_LICENSE_FILE="/home/your_username/software/gurobi_licence/gurobi.lic"
# <<< gurobi <<<
After saving and exiting, run source ~/.bashrc
to take effect.
To verify, enter the command
gurobi_cl
If the output is as follows, it proves that the activation is complete.
Set parameter LogFile to value "gurobi.log"
Using license file /home/your_username/software/gurobi_licence/gurobi.lic
Usage: gurobi_cl [--command]* [param=value]* filename
Type 'gurobi_cl --help' for more information.