To check if you have gcc installed on your Ubuntu type gcc on the terminal. If terminal shows you following error means you don't have gcc installed.
"
gcc: fatal error: no input files"
To install gcc, all you need to do is to follow the below commands:
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install build-essential
Once the installation completed for essentials, you can check the installed gcc version by command
No comments:
Post a Comment