---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.3
alternate:
  - https://catboost.ai/docs/en/installation/cli-installation-make-install.md
---
> **Documentation Index:** Fetch the complete configuration index at https://catboost.ai/docs/en/llms.txt

# Build the binary with `make` on Linux (CPU only)

{% note warning %}

This approach will work only for versions prior to [this commit](https://github.com/catboost/catboost/commit/c5c642ca0b8e093336d0229ac4b14c78db3915bb).

For newer versions use [Build with CMake](https://catboost.ai/docs/en/installation/cli-installation-local-copy-installation.md#cmake)

{% endnote %}


{% note info %}

<!-- source: en/_includes/work_src/reusage-code-examples/nvidia-driver-reqs.md -->
Training or inference on CUDA-enabled GPUs requires NVIDIA Driver of version 450.80.02 or higher.
<!-- endsource: en/_includes/work_src/reusage-code-examples/nvidia-driver-reqs.md -->

{% endnote %}


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

1. Clone the repository:

    ```
    git clone https://github.com/catboost/catboost.git
    ```

1. Install the appropriate package (for example, `libc6-dev` on Ubuntu).

1. Install Clang 3.9.
1. 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++
    ```

1. Run the following command:

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


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