filmov
tv
How to Compile and Run C program Using GCC on Ubuntu 22.04 LTS / Ubuntu 24.04 (Linux)
Показать описание
In this video I am going to show How to Compile and Run C program Using GCC on Ubuntu 22.04 / Ubuntu 24.04 LTS Linux. Same instruction will be valid for Linux mint, Debian and other Linux systems
==========================================
Confirm your installation by checking for GCC version by the command:
gcc --version
===========================================
Install build-essential by the command:
sudo apt install build-essential
===========================================
To compile the code within hello.c file, compile and execute it:
$ gcc -o hello hello.c
$ ./hello
Hello, World!
===========================================
★★★Top Online Courses From ProgrammingKnowledge ★★★
★★★ Online Courses to learn ★★★
★★★ Follow ★★★
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
How to run a C program on Ubuntu?
Compiling/Running C Programs?
Compile and Run simple C Program with gcc Compiler in Ubuntu
==========================================
Confirm your installation by checking for GCC version by the command:
gcc --version
===========================================
Install build-essential by the command:
sudo apt install build-essential
===========================================
To compile the code within hello.c file, compile and execute it:
$ gcc -o hello hello.c
$ ./hello
Hello, World!
===========================================
★★★Top Online Courses From ProgrammingKnowledge ★★★
★★★ Online Courses to learn ★★★
★★★ Follow ★★★
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
How to run a C program on Ubuntu?
Compiling/Running C Programs?
Compile and Run simple C Program with gcc Compiler in Ubuntu