---

Linux Basics: How to Write and Run a C Program on Ubuntu

In this guide, you will learn how to write your first C program using the Linux operating system which requires just the GNU C compiler and a text editor and not a full-blown integrated development environment to get started. The following steps will show to install a GNU C compiler on Linux, how to write the source code, compile and execute the C program.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis