安装基础依赖环境
本章节使用Yum源方式安装CMake、GCC/G++、Python等编译ONNX Runtime所依赖的基础软件。
- 使用PuTTy工具,以root用户登录服务器。
- 执行以下命令安装基础软件。
1
yum install gcc g++ git python openssl-devel
- 安装验证。以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.
父主题: 配置编译环境