Nguyễn Việt Thắng
New member
How do I run GCC on Ubuntu?
Answer
The main command for installing the GCC compiler using terminal on Ubuntu is:
Answer
The main command for installing the GCC compiler using terminal on Ubuntu is:
- sudo apt install GCC.
- GCC — version.
- cd Desktop.
- Key takeaway: Commands are case sensitive.
- touch program.c.
- GCC program.c -o program.
- Key takeaway: The executable file name can be different from the source file name.
- ./program.