CentOS7 uses yum to install Development Tools (development tool suite) under Linux and reports an error solution

Table of contents

1. Operating environment

2. Problem description

3. Reason Analysis

4. Solutions 


1. Operating environment

  • Native OS: Windows 10 Pro
  • Operating system in the virtual machine: CentOS Linux release 7.4.1708 (Core) -x86_64
  • The operating system kernel in the virtual machine: Linux

2. Problem description

When using yum to install Development Tools, the following error occurs and cannot be installed.

 3. Reason Analysis

  • Error explanation: No group information file is installed, you may need to run: yum groups mark convert (see man yum); Warning: The group development does not contain any installable software packages, you may need to run: yum groups mark-install (see man yum ), there are no packages in the specified group that can be installed or upgraded.
  • Analysis: Development Tools cannot be installed without installing group information files and package groups.

4. Solutions 

First install the group information file and package group to install the Development Tools, the execution statement is as follows:

# 1.安装包组
yum groups mark install "Development Tools"
# 2.安装组信息文件
yum groups mark convert "Development Tools"
# 3.安装开发工具套件
yum groupinstall "Development Tools"

As shown in the figure, the final successful installation 

Guess you like

Origin blog.csdn.net/qq_42535298/article/details/127319243