Build the binary with make on Linux (CPU only)


    Training on GPU requires NVIDIA Driver of version 418.xx or higher.

    To build a CPU version of the command-line package using make:

    1. Clone the repository:

      git clone
    2. Install the appropriate package (for example, libc6-dev on Ubuntu).

    3. Install Clang 3.9.

    4. Set the CC and CXX variables to point to the installed Clang 3.9, for example:

      export CC=/usr/bin/clang
      export CXX=/usr/bin/clang++
    5. Run the following command:

      make -f make/CLANG39-LINUX-X86_64.makefile

    The output directory for the binary is /catboost/catboost/app.