# OR-Tools for C++

You can install OR-Tools for C++ either from a binary distribution or
from the source code. The binary option is easier, so we recommend it unless you
plan to modify the source code.

> [!NOTE]
> **Note:** If you plan to use a third-party solver with OR-Tools, you need to build OR-Tools from source.

## Binary distributions

The following guides explain how to install OR-Tools for C++ from a binary
distribution:

- [Binary installation on Linux](https://developers.google.com/optimization/install/cpp/binary_linux)
- [Binary installation on MacOS](https://developers.google.com/optimization/install/cpp/binary_mac)
- [Binary installation on Windows](https://developers.google.com/optimization/install/cpp/binary_windows)

## Build from Source

The following guides explain how to install OR-Tools for C++ from source:

- [Source installation on Linux](https://developers.google.com/optimization/install/cpp/source_linux)
- [Source installation on MacOS](https://developers.google.com/optimization/install/cpp/source_mac)
- [Source installation on Windows](https://developers.google.com/optimization/install/cpp/source_windows)