Setting up Gurobi with C++ in the Linux environment

The following are steps to set up a Linux Environment in MacOS Catalina.

  1. Install the latest version of Virtual Box for MacOS X with the following link; Downloads – Oracle VM VirtualBox
    • If an error is received that blocks the installation follow this tutorial:
    Allowing Third Party Applications to Install on a MacBook | IT Services
  2. Install the desktop version of Ubuntu with the following link;
    Download Ubuntu Desktop | Download | Ubuntu
  3. Once both Virtual Box and Ubuntu are installed, open Virtual Box and create a new Virtual Machine with the “new” button.
    • The recommended RAM allocated for the Virtual Machine is 4GB, but it can be changed at any time.
    • The recommended hard drive space for the Virtual Machine is 25GB, keep in mind the hard drive space cannot be changed.
  4. After Virtual Machine is created, select the Virtual Machine created and click on “start”. A window will pop out to and select the Ubuntu installed from the beginning.
  5. Ubuntu will start.
    • The Ubuntu installation will begin.
    • Select all default options
    • Installation will wrap up and Ubuntu will restart.
  6. To set up Gurobi in your new Virtual Machine follow step 2, from the original forum.
1 Like