鲲鹏社区首页
中文
注册
我要评分
文档获取效率
文档正确性
内容完整性
文档易理解
在线提单
论坛求助

安装基础依赖环境

本章节使用Yum源方式安装CMake、GCC/G++、Python等编译ONNX Runtime所依赖的基础软件。

  1. 使用PuTTy工具,以root用户登录服务器。
  2. 执行以下命令安装基础软件。
    1
    yum install gcc g++ git python openssl-devel
    
  3. 安装验证。
    以GCC为例,G++、Git、Python、openssl-devel类似。
    1
    gcc --version
    

    回显信息如以下内容、且版本符合环境要求,则安装成功。

    gcc (GCC) 10.3.1
    Copyright (C) 2020 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.