This library is used to get the platform related information such as hardwareUUID, bios name, CPU flags etc. cmd - contains the command line utility for the library.
- RHEL 8.1
- Epel 8 Repo
- Proxy settings if applicable
- git
goversion >=go1.12.1& <=go1.14.1
The platform-info requires Go version 1.12.1 that has support for go modules. The build was validated with the latest version 1.14.1 of go. It is recommended that you use 1.14.1 version of go. You can use the following to install go.
wget https://dl.google.com/go/go1.14.1.linux-amd64.tar.gz
tar -xzf go1.14.1.linux-amd64.tar.gz
sudo mv go /usr/local
export GOROOT=/usr/local/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH- Git clone the platform-info
- Run scripts to build the platform-info
git clone https://github.com/intel-secl/platform-info.git
cd platform-infogo build ./...