Install CentOS development tools

Mirror source switch

First switch the yum source to the domestic image source
backup the original source image file

# cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

Download the new CentOS- Base.repo

#wget -O /etc/yum.repos.d/CentOS-Base.repo

If WGet is not installed, you can use ?Yum install WGet to execute CentOS after installation- Base.repo Installation of
on /etc/ yum.repos .d/CentOS- Media.repo source file configuration file, changed to invalid


Yum cache generation

#yum clean all
#yum makecache
#yum update

CentOS development tools installation

yum groupinstall "Development Libraries"

yum groupinstall "Development Tools"

yum install ncurses-devel zlib-devel texinfo gtk+-devel gtk2-devel qt-devel tcl-devel tk-devel libX11-devel kernel-headers kernel-devel

Similar Posts: