In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to install GCC on CentOS8" related knowledge, editor through the actual case to show you the operation process, the method of operation is simple and fast, practical, I hope that this "how to install GCC on CentOS8" article can help you solve the problem.
The CentOS default repository contains a package group called Development tools, which includes the GNU compiler collection, the GNU debugger, and other development libraries and tools needed to compile the software.
Install GCC and configure GCC
To install the GCC SDK, you must run the following command as root or a user with sudo privileges, which I installed here as the root user:
Install the developer tool set [root@ece2cd92dada ~] # dnf group install "Development Tools"
The above command installs a number of software packages, including gcc, Gmail +, and make
Install the developer tools manual [root@ece2cd92dada ~] # dnf install man-pages to verify whether GCC has been successfully installed [root@ece2cd92dada ~] # gcc-- versiongcc (GCC) 8.3.1 20190507 (Red Hat 8.3.1-4) Copyright (C) 2018 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.vim writes a C language "Hello World" [root@ece2cd92dada ~] # vim hello.c#includeint main () {printf ("Hello World!\ n"); return 0;} GCC compiles the hello.c file to generate the hello binary program [root@ece2cd92dada ~] # gcc hello.c-o hello runs the compiled hello binary program [root@ece2cd92dada ~] # / helloHello World! This is the end of the introduction on "how to install GCC on CentOS8". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.