A simple script to download, install, and activate Gurobi Optimizer with all necessary environment setup on Linux.
bash
wget
tar
- Internet access
- A valid Gurobi license key
- Clone this repository:
git clone https://github.com/hadipourh/grabgurobi
cd grabgurobi
- Make the script executable and run it:
chmod +x install_gurobi.sh
./install_gurobi.sh
Once installed, you can verify the environment is set up by running:
echo $GUROBI_HOME
gurobi.sh
If needed, manually activate the environment in your current shell:
source ~/.bashrc
The content is licensed under the GNU GPLv3. See the LICENSE file for more details.