This is free software see the source for copying conditions. Type the following command to see gcc compiler version: $ gcc -version Gcc: /usr/bin/gcc /usr/lib/gcc /usr/libexec/gcc /usr/share/man/man1/gcc.1.gz
Type the following command to see gcc location: $ whereis gcc Verify your gcc installation on a CentOS / RHEL 7 server So we will need to pass the option -setopt=group_package_types=mandatory,default,optional to install the optional packages too. The package group “Development Tools”” has only the optional packages which by default doesn’t get installed. The yum has changed in Red Hat Enterprise Linux 7/CentOS 7. # yum -setopt=group_package_types=mandatory,default,optional group install "Development Tools" # yum -setopt=group_package_types=mandatory,default,optional groupinstall "Development Tools"
To install all the packages belonging to a package group called “Development Tools” use the following command: $ sudo yum group install "Development Tools"Īnimated gif 01: Installing C & C++ and related packages on a CentOS and RHEL 7 A note about failing groupinstall on CentOS/RHEL 7.x Type the following yum command as root user: ISCSI Storage Client (storage-client-iscsi)ĭone Command to install GCC and Development Tools on a CentOS / RHEL 7 server Web-Based Enterprise Management (system-management-wbem) TurboGears application framework (turbogears) System Administration Tools (system-admin-tools) Storage Availability Tools (storage-client-multipath) Server Platform Development (server-platform-devel) Messaging Server Support (system-management-messaging-server) Messaging Client Support (system-management-messaging-client) Graphical Administration Tools (graphical-admin-tools) General Purpose Desktop (general-desktop) KDE Plasma Workspaces (kde-desktop-environment)ĭevelopment and Creative Workstation (developer-workstation-environment)Ĭompatibility Libraries (compat-libraries)Ĭonsole Internet Tools (console-internet)ĭesktop Platform Development (desktop-platform-devel)įCoE Storage Client (storage-client-fcoe) GNOME Desktop (gnome-desktop-environment) Server with GUI (graphical-server-environment) Virtualization Host (virtualization-host-environment) Infrastructure Server (infrastructure-server-environment)įile and Print Server (file-print-server-environment)īasic Web Server (web-server-environment) Loading mirror speeds from cached hostfile Maybe run: yum groups mark convert (see man yum)