Howto install gcc and development tools on Centos 7.x and RHEL

Howto install gcc and development tools on Centos 7.x and RHEL

centos

GCC and development Tools such as autoconf, automake, flex, c++ compiler, and bison.

Step 1: List package group by yum

[root@IThelpblog ~]# yum group list
Loaded plugins: fastestmirror
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
* base: mirrors.viethosting.vn
* epel: mirrors.ustc.edu.cn
* extras: mirrors.viethosting.vn
* updates: mirrors.viethosting.vn
Available Environment Groups:
Minimal Install
Compute Node
Infrastructure Server
File and Print Server
MATE Desktop
Basic Web Server
Virtualization Host
Server with GUI
GNOME Desktop
KDE Plasma Workspaces
Development and Creative Workstation
Available Groups:
CIFS file server
Compatibility Libraries
Console Internet Tools
Desktop
Desktop Platform
Desktop Platform Development
Development Tools
Eclipse
Educational Software
Electronic Lab
FCoE Storage Client
Fedora Packager
General Purpose Desktop
Graphical Administration Tools
Haskell
Legacy UNIX Compatibility
Messaging Client Support
Messaging Server Support
Milkymist
MySQL Database client
MySQL Database server
NFS file server
Network Storage Server
SNMP Support
Scientific Support
Security Tools
Server Platform
Server Platform Development
Smart Card Support
Storage Availability Tools
System Administration Tools
System Management
TeX support
TurboGears application framework
Virtualization
Web-Based Enterprise Management
Xfce
iSCSI Storage Client
Done
[root@IThelpblog ~]#

Step 2: Install Gcc and development tools

[root@IThelpblog ~]# yum group install “Development Tools”
Loaded plugins: fastestmirror
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
* base: mirrors.viethosting.vn
* epel: mirror01.idc.hinet.net
* extras: mirrors.viethosting.vn
* updates: mirrors.viethosting.vn
Resolving Dependencies
–> Running transaction check
—> Package autoconf.noarch 0:2.69-11.el7 will be installed
–> Processing Dependency: m4 >= 1.4.14 for package: autoconf-2.69-11.el7.noarch
—> Package automake.noarch 0:1.13.4-3.el7 will be installed
–> Processing Dependency: perl(Thread::Queue) for package: automake-1.13.4-3.el7.noarch

………..

Installed:
autoconf.noarch 0:2.69-11.el7 automake.noarch 0:1.13.4-3.el7 bison.x86_64 0:2.7-4.el7 byacc.x86_64 0:1.9.20130304-3.el7
cscope.x86_64 0:15.8-7.el7 ctags.x86_64 0:5.8-13.el7 diffstat.x86_64 0:1.57-4.el7 doxygen.x86_64 1:1.8.5-3.el7
elfutils.x86_64 0:0.163-3.el7 flex.x86_64 0:2.5.37-3.el7 gcc.x86_64 0:4.8.5-4.el7 gcc-c++.x86_64 0:4.8.5-4.el7
gcc-gfortran.x86_64 0:4.8.5-4.el7 git.x86_64 0:1.8.3.1-6.el7 indent.x86_64 0:2.2.11-13.el7 intltool.noarch 0:0.50.2-6.el7
libtool.x86_64 0:2.4.2-21.el7_2 patch.x86_64 0:2.7.1-8.el7 patchutils.x86_64 0:0.3.3-4.el7 rcs.x86_64 0:5.9.0-5.el7
redhat-rpm-config.noarch 0:9.1.0-68.el7.centos rpm-build.x86_64 0:4.11.3-17.el7 rpm-sign.x86_64 0:4.11.3-17.el7 subversion.x86_64 0:1.7.14-10.el7
swig.x86_64 0:2.0.10-4.el7 systemtap.x86_64 0:2.8-10.el7

Dependency Installed:
boost-system.x86_64 0:1.53.0-25.el7 boost-thread.x86_64 0:1.53.0-25.el7 bzip2.x86_64 0:1.0.6-13.el7
cpp.x86_64 0:4.8.5-4.el7 dwz.x86_64 0:0.11-3.el7 dyninst.x86_64 0:8.2.0-2.el7
emacs-filesystem.noarch 1:24.3-18.el7 gdb.x86_64 0:7.6.1-80.el7 gettext-common-devel.noarch 0:0.18.2.1-4.el7
gettext-devel.x86_64 0:0.18.2.1-4.el7 glibc-devel.x86_64 0:2.17-106.el7_2.4 glibc-headers.x86_64 0:2.17-106.el7_2.4
kernel-devel.x86_64 0:3.10.0-327.10.1.el7 kernel-headers.x86_64 0:3.10.0-327.10.1.el7 libdwarf.x86_64 0:20130207-4.el7
libgfortran.x86_64 0:4.8.5-4.el7 libgnome-keyring.x86_64 0:3.8.0-3.el7 libmpc.x86_64 0:1.0.1-3.el7
libquadmath.x86_64 0:4.8.5-4.el7 libquadmath-devel.x86_64 0:4.8.5-4.el7 libstdc++-devel.x86_64 0:4.8.5-4.el7
m4.x86_64 0:1.4.16-10.el7 mokutil.x86_64 0:0.9-2.el7 mpfr.x86_64 0:3.1.1-4.el7
neon.x86_64 0:0.30.0-3.el7 pakchois.x86_64 0:0.4-10.el7 perl-Error.noarch 1:0.17020-2.el7
perl-Git.noarch 0:1.8.3.1-6.el7 perl-TermReadKey.x86_64 0:2.30-20.el7 perl-Test-Harness.noarch 0:3.28-3.el7
perl-Thread-Queue.noarch 0:3.02-2.el7 perl-XML-Parser.x86_64 0:2.41-10.el7 perl-srpm-macros.noarch 0:1-8.el7
rsync.x86_64 0:3.0.9-17.el7 subversion-libs.x86_64 0:1.7.14-10.el7 systemtap-client.x86_64 0:2.8-10.el7
systemtap-devel.x86_64 0:2.8-10.el7 systemtap-runtime.x86_64 0:2.8-10.el7 unzip.x86_64 0:6.0-15.el7
zip.x86_64 0:3.0-10.el7

Complete!

 

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>