Install essential build tools sudo apt update sudo apt install -y build-essential gcc g++ Verify installation gcc --version which gcc Set the CC environment variable export CC=/usr/bin/gcc