Skip to content

Installing a C compiler on Linux and macOS

Alexander Medvednikov edited this page Jun 3, 2020 · 2 revisions

macOS

You can either install XCode from the App Store or run xcode-select --install to install XCode command line tools.

Debian/Ubuntu

sudo apt install build-essential

CentOS/RHEL

sudo yum groupinstall "Development Tools"

Fedora

sudo dnf install @development-tools

Arch Linux

GCC should be preinstalled