How to install C compiler on Linux/macOS
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