To verify that the GCC has been successfully installed on the machine as we discussed earlier, execute the following command gcc -version Install GCC on Mac $ sudo apt-get install build-essential manpages-devĤ. For Debian and Ubuntu users, type and execute following command $ sudo apt-get update For red-hat, Fedora users, type and execute this command # yum groupinstall 'Development Tools'ģ. To set up the ‘C’ environment on Linux distributions follow the given steps:Ģ. To verify if the compiler is installed on the machine, run the following command in the terminal: gcc -versionĪfter executing this command if the gcc is installed on the machine then it will return the information about the compiler otherwise it will ask you to install the compiler. Linux operating systems mostly comes with GCC preinstalled.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |