安装Btrfs、libseccomp-devel、git和make

操作步骤

  1. 安装Btrfs。

    yum install btrfs-progs-devel -y

  2. 安装libseccomp-devel。

    yum install libseccomp-devel -y

    在CentOS 8.1操作系统中执行此安装步骤时,需删除3-配置编译环境中配置的yum源everything。

    cd /etc/yum.repos.d
    vi CentOS-Base.repo
    // 删除everything
    yum clean all
    yum makecache

  3. 安装make。

    yum install make -y

  4. 安装git。

    yum install git -y