Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to Compile and Run C program Using GCC on Ubuntu 18.04 LTS (Linux) / Ubuntu 20.04 LTS
ChannelProgrammingKnowledge2Description from the creator
In this video I am going to show How to Compile and Run C program Using GCC on Ubuntu 18.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 ★★★
Python Programming Course ➡️ bit.ly/2vsuMaS ⚫️ bit.ly/2GOaeQB
Java Programming Course ➡️ bit.ly/2GEfQMf ⚫️ bit.ly/2Vvjy4a
Bash Shell Scripting Course ➡️ bit.ly/2DBVF0C ⚫️ bit.ly/2UM06vF
Linux Command Line Tutorials ➡️ bit.ly/2IXuil0 ⚫️ bit.ly/2IXukt8
C Programming Course ➡️ bit.ly/2GQCiD1 ⚫️ bit.ly/2ZGN6ej
C++ Programming Course ➡️ bit.ly/2V4oEVJ ⚫️ bit.ly/2XMvqMs
PHP Programming Course ➡️ bit.ly/2XP71WH ⚫️ bit.ly/2vs3od6
Android Development Course ➡️ bit.ly/2UHih5H ⚫️ bit.ly/2IMhVci
C# Programming Course ➡️ bit.ly/2Vr7HEl ⚫️ bit.ly/2W6RXTU
JavaFx Programming Course ➡️ bit.ly/2XMvZWA ⚫️ bit.ly/2V2CoAi
NodeJs Programming Course ➡️ bit.ly/2GPg7gA ⚫️ bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps ➡️ bit.ly/2Wd4l4W ⚫️ bit.ly/2J1B1ug
Scala Programming Tutorial Course ➡️ bit.ly/2PysyA4 ⚫️ bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial ➡️ bit.ly/2DFQ2yC ⚫️ bit.ly/2VoJWwH
MongoDB Tutorial Course ➡️ bit.ly/2LaCJfP ⚫️ bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners ➡️ bit.ly/2vwqHSZ
★★★ Online Courses to learn ★★★
Data Science - bit.ly/2BB3PV8 | bit.ly/2IOrpni
Machine Learning - bit.ly/2J2xex1
Artificial Intelligence - bit.ly/2AeIHUR | bit.ly/2PCCBEb
Data Analytics with R Certification Training- bit.ly/2rSKHNP
DevOps Certification Training - bit.ly/2T5P6bQ
AWS Architect Certification Training - bit.ly/2PRHDeF
Java, J2EE & SOA Certification Training - bit.ly/2EKbwMK
AI & Deep Learning with TensorFlow - bit.ly/2AeIHUR
Big Data Hadoop Certification Training- bit.ly/2ReOl31
AWS Architect Certification Training - bit.ly/2EJhXjk
Selenium Certification Training - bit.ly/2BFrfZs
Tableau Training & Certification - bit.ly/2rODzSK
Linux Administration Certification Training-bit.ly/2Gy9GQH
★★★ Follow ★★★
My Website - codebind.com
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 ★★★
Python Programming Course ➡️ bit.ly/2vsuMaS ⚫️ bit.ly/2GOaeQB
Java Programming Course ➡️ bit.ly/2GEfQMf ⚫️ bit.ly/2Vvjy4a
Bash Shell Scripting Course ➡️ bit.ly/2DBVF0C ⚫️ bit.ly/2UM06vF
Linux Command Line Tutorials ➡️ bit.ly/2IXuil0 ⚫️ bit.ly/2IXukt8
C Programming Course ➡️ bit.ly/2GQCiD1 ⚫️ bit.ly/2ZGN6ej
C++ Programming Course ➡️ bit.ly/2V4oEVJ ⚫️ bit.ly/2XMvqMs
PHP Programming Course ➡️ bit.ly/2XP71WH ⚫️ bit.ly/2vs3od6
Android Development Course ➡️ bit.ly/2UHih5H ⚫️ bit.ly/2IMhVci
C# Programming Course ➡️ bit.ly/2Vr7HEl ⚫️ bit.ly/2W6RXTU
JavaFx Programming Course ➡️ bit.ly/2XMvZWA ⚫️ bit.ly/2V2CoAi
NodeJs Programming Course ➡️ bit.ly/2GPg7gA ⚫️ bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps ➡️ bit.ly/2Wd4l4W ⚫️ bit.ly/2J1B1ug
Scala Programming Tutorial Course ➡️ bit.ly/2PysyA4 ⚫️ bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial ➡️ bit.ly/2DFQ2yC ⚫️ bit.ly/2VoJWwH
MongoDB Tutorial Course ➡️ bit.ly/2LaCJfP ⚫️ bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners ➡️ bit.ly/2vwqHSZ
★★★ Online Courses to learn ★★★
Data Science - bit.ly/2BB3PV8 | bit.ly/2IOrpni
Machine Learning - bit.ly/2J2xex1
Artificial Intelligence - bit.ly/2AeIHUR | bit.ly/2PCCBEb
Data Analytics with R Certification Training- bit.ly/2rSKHNP
DevOps Certification Training - bit.ly/2T5P6bQ
AWS Architect Certification Training - bit.ly/2PRHDeF
Java, J2EE & SOA Certification Training - bit.ly/2EKbwMK
AI & Deep Learning with TensorFlow - bit.ly/2AeIHUR
Big Data Hadoop Certification Training- bit.ly/2ReOl31
AWS Architect Certification Training - bit.ly/2EJhXjk
Selenium Certification Training - bit.ly/2BFrfZs
Tableau Training & Certification - bit.ly/2rODzSK
Linux Administration Certification Training-bit.ly/2Gy9GQH
★★★ Follow ★★★
My Website - codebind.com
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
About this tutorial
ProgrammingKnowledge2 published this 4:31 video tutorial on November 2, 2018. It has been watched 978,949 times on YouTube.
- Channel
- ProgrammingKnowledge2
- Category
- Education
- Duration
- 4:31
- Published
- November 2, 2018
- Views
- 978,949
- Likes
- 10,200
Tags
Share
This tutorial in other languages
- FRComment compiler et exécuter le programme C en utilisant GCC sur Ubuntu 18.04 LTS (Linux) / Ubuntu 20.04 LTS
- ESCómo compilar y ejecutar el programa C El uso de GCC en Ubuntu 18.04 LTS (Linux) / Ubuntu 20.04 LTS
- PTComo programa de compilar e executar C Usando GCC no Ubuntu 18.04 LTS (Linux) / Ubuntu 20.04 LTS
- ITCome programma di compilare ed eseguire C Utilizzando GCC su Ubuntu 18.04 LTS (Linux) / Ubuntu 20.04 LTS
- DEWie zu kompilieren und ausführen C-Programm Verwenden von GCC auf Ubuntu 18.04 LTS (Linux) / Ubuntu 20.04 LTS
- NLHoe te compileren en uitvoeren van C-programma Met behulp van GCC op Ubuntu 18.04 LTS (Linux) / Ubuntu 20.04 LTS
- RUКак программировать компилировать и запускать C Использование GCC на Ubuntu 18.04 LTS (Linux) / Ubuntu 20.04 LTS
- PLJak skompilować i uruchomić program za pomocą GCC C na Ubuntu 18.04 LTS (Linux) Ubuntu 20.04 LTS /
- JAどのようにコンパイルして実行CプログラムへのUbuntu 18.04 LTS(Linux)の/ Ubuntuの20.04 LTS上でGCCを使用して
- ARكيفية ترجمة البرنامج وتشغيل C عن طريق دول مجلس التعاون الخليجي على أوبونتو 18.04 LTS (لينكس) / أوبونتو 20.04 LTS
- HIकैसे संकलित और भागो सी कार्यक्रम उबंटू 18.04 LTS (लिनक्स) / Ubuntu के 20.04 LTS पर जीसीसी का उपयोग करने के लिए
- IDCara Program Kompilasi dan Jalankan C Menggunakan GCC pada Ubuntu 18.04 LTS (Linux) / Ubuntu 20,04 LTS