Skip to content

02_3 linux setup

Fábio Gaspar edited this page Feb 18, 2019 · 1 revision

Setup GCC on Linux

Most linux distros have the GCC installed and ready to be used. A simple way to verify this is to open the terminal and type gcc --version. If you get some output then you are ready to develop C programs.

To install GCC, that depends on your distro. Below you find the instruction for Fedora and Ubuntu. If you have another distro, Google is your friend 😄

Arch

sudo pacman -S gcc

Ubuntu

sudo apt-get update
sudo apt-get install gcc

Fedora

sudo yum install gcc