How do I get gcc on Linux?

Ngân Lam

New member
How do I get gcc on Linux?
Answer
Installing GCC on Ubuntu
  1. Start by updating the packages list: sudo apt update.
  2. Install the build-essential package by typing: sudo apt install build-essential. …
  3. To validate that the GCC compiler is successfully installed, use the gcc –version command which prints the GCC version: gcc –version.
 

Tìm kiếm

Back
Top