Installing the Dependencies
Install the base software on which ONNX Runtime compilation depends, including CMake, GCC/G++, and Python, from the Yum repository.
- Use PuTTY to log in to a server as the root user.
- Install the base software.
1yum install gcc g++ git python openssl-devel
- Verify the installation.The GCC is used as an example. The verification of G++, Git, Python, and openssl-devel is similar.
1gcc --versionIf the following information is displayed and the version meets the environment requirements, the installation is successful.
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.
Parent topic: Configuring the Compilation Environment