![]() It is highly recommended to start a screen session before starting the installation. If you need a newer version of GCC than the one distributed by the official CentOS 7 repositories you can install it from source. It will automatically include the C++ library and compile files with extensions that indicate they are C source as C++, instead of as C. Warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.Īs might be seen from the output, the GCC version distributed by CentOS 7 is 4.8.5 which is not the latest version of GCC. ![]() This is free software see the source for copying conditions. Once the installation is completed, you can the version of GCC installed on your server gcc -version Run the following command to install GCC on your server yum -y install gcc GCC can be easily installed from the official CentOS repositories. Installing GCC on CentOS 7, is really an easy task and it shouldn’t take more than 10 minutes.įirst of all log in to your CentOS 7 VPS via SSH as user root ssh -p Port_numberĪnd make sure that all installed packages on the server are up to date yum -y update 2. GCC is an official compiler of the GNU operating system but also it is a standard compiler on many Unix operating systems such as Linux. ![]() GCC or GNU Compiler Collection is released by the Free Software Foundation and as the name suggests, it is a very useful collection of programming compilers such as C, C++, Objective-C, Objective-C++, Fortran, Java, Go and Ada. In this tutorial, we will take a look at how to install GCC on CentOS 7. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |