See https://support.gurobi.com/hc/en-us/articles/4534161999889-How-do-I-install-Gurobi-Optimizer
export GUROBI_HOME="/opt/gurobi1102/linux64"
(check out version number!)export PATH="${PATH}:${GUROBI_HOME}/bin"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GUROBI_HOME}/lib"
Using the command for grbgetkey that is shown when getting the license.
The R package is in the installation directory in the directory R. Use
install.packages('gurobi_11.0-2_R_4.4.0.tar.gz', repos=NULL)
As of June 2024, the package still only seems to work in the console and not for example in RStudio (at least on Linux, I was told it is different on Windows).
Last updated: 2024-06-05