Build the binary with make on Linux (CPU only)

Warning

This approach will work only for versions prior to this commit.

For newer versions use Build with CMake

Note

Training or inference on CUDA-enabled GPU requires NVIDIA Driver of version 450.80.02 or higher.

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

  1. Clone the repository:

    git clone https://github.com/catboost/catboost.git
    
  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.