How To Install mstflint.x86_64 on Amazon Linux 2

In this tutorial we learn how to install mstflint.x86_64 in Amazon Linux 2. mstflint.x86_64 is Mellanox firmware burning tool

Introduction

In this tutorial we learn how to install mstflint.x86_64 on Amazon Linux 2.

What is mstflint.x86_64

This package contains firmware update tool, vpd dump and register dump tools for network adapters based on Mellanox Technologies chips.

We can use yum to install mstflint.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install mstflint.x86_64.

Install mstflint.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mstflint.x86_64 using yum by running the following command:

sudo yum -y install mstflint.x86_64

How To Uninstall mstflint.x86_64 on Amazon Linux 2

To uninstall only the mstflint.x86_64 package we can use the following command:

sudo yum remove mstflint.x86_64

mstflint.x86_64 Package Contents on Amazon Linux 2

/etc/mstflint
/etc/mstflint/ca-bundle.crt
/usr/bin/mstconfig
/usr/bin/mstflint
/usr/bin/mstfwmanager
/usr/bin/mstfwreset
/usr/bin/mstmcra
/usr/bin/mstmread
/usr/bin/mstmtserver
/usr/bin/mstmwrite
/usr/bin/mstregdump
/usr/bin/mstvpd
/usr/lib64/mstflint
/usr/lib64/mstflint/python_tools
/usr/lib64/mstflint/python_tools/c_dev_mgt.so
/usr/lib64/mstflint/python_tools/ccmdif.so
/usr/lib64/mstflint/python_tools/cmdif.py
/usr/lib64/mstflint/python_tools/cmdif.pyc
/usr/lib64/mstflint/python_tools/cmdif.pyo
/usr/lib64/mstflint/python_tools/cmtcr.so
/usr/lib64/mstflint/python_tools/dev_mgt.py
/usr/lib64/mstflint/python_tools/dev_mgt.pyc
/usr/lib64/mstflint/python_tools/dev_mgt.pyo
/usr/lib64/mstflint/python_tools/mstfwreset
/usr/lib64/mstflint/python_tools/mstfwreset/mstfwreset.py
/usr/lib64/mstflint/python_tools/mstfwreset/mstfwreset.pyc
/usr/lib64/mstflint/python_tools/mstfwreset/mstfwreset.pyo
/usr/lib64/mstflint/python_tools/mtcr.py
/usr/lib64/mstflint/python_tools/mtcr.pyc
/usr/lib64/mstflint/python_tools/mtcr.pyo
/usr/lib64/mstflint/python_tools/regaccess.py
/usr/lib64/mstflint/python_tools/regaccess.pyc
/usr/lib64/mstflint/python_tools/regaccess.pyo
/usr/lib64/mstflint/python_tools/rreg_access.so
/usr/lib64/mstflint/python_tools/tools_version.py
/usr/lib64/mstflint/python_tools/tools_version.pyc
/usr/lib64/mstflint/python_tools/tools_version.pyo
/usr/share/doc/mstflint-4.8.0
/usr/share/doc/mstflint-4.8.0/README
/usr/share/man/man1/mstconfig.1.gz
/usr/share/man/man1/mstflint.1.gz
/usr/share/man/man1/mstmcra.1.gz
/usr/share/man/man1/mstmread.1.gz
/usr/share/man/man1/mstmtserver.1.gz
/usr/share/man/man1/mstmwrite.1.gz
/usr/share/man/man1/mstregdump.1.gz
/usr/share/man/man1/mstvpd.1.gz
/usr/share/mstflint
/usr/share/mstflint/ConnectIB.csv
/usr/share/mstflint/ConnectX2.csv
/usr/share/mstflint/ConnectX3.csv
/usr/share/mstflint/ConnectX3Pro.csv
/usr/share/mstflint/ConnectX4.csv
/usr/share/mstflint/ConnectX4LX.csv
/usr/share/mstflint/ConnectX5.csv
/usr/share/mstflint/InfiniScaleIV.csv
/usr/share/mstflint/Spectrum.csv
/usr/share/mstflint/SwitchIB.csv
/usr/share/mstflint/SwitchIB2.csv
/usr/share/mstflint/SwitchX.csv
/usr/share/mstflint/mlxconfig_dbs
/usr/share/mstflint/mlxconfig_dbs/mlxconfig_host.db
/usr/share/mstflint/mlxconfig_dbs/mlxconfig_switch.db

References

Summary

In this tutorial we learn how to install mstflint.x86_64 on Amazon Linux 2 using yum.