How To Install mstflint on Rocky Linux 8

In this tutorial we learn how to install mstflint on Rocky Linux 8. mstflint is Mellanox firmware burning tool

Introduction

In this tutorial we learn how to install mstflint on Rocky Linux 8.

What is mstflint

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

We can use yum or dnf to install mstflint on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mstflint.

Install mstflint on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install mstflint

Install mstflint on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install mstflint

How To Uninstall mstflint on Rocky Linux 8

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

sudo dnf remove mstflint

mstflint Package Contents on Rocky Linux 8

/etc/mstflint
/etc/mstflint/ca-bundle.crt
/usr/bin/mstarchive
/usr/bin/mstconfig
/usr/bin/mstcongestion
/usr/bin/mstflint
/usr/bin/mstfwmanager
/usr/bin/mstfwreset
/usr/bin/mstfwtrace
/usr/bin/mstmcra
/usr/bin/mstmread
/usr/bin/mstmtserver
/usr/bin/mstmwrite
/usr/bin/mstprivhost
/usr/bin/mstregdump
/usr/bin/mstresourcedump
/usr/bin/mstresourceparse
/usr/bin/mstvpd
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/b2b3baa1e2e85b7d9b723add0b0bdc7e39dca9
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/956d43f5d5ca17f567e15cc5db7a9521f40829
/usr/lib/.build-id/31
/usr/lib/.build-id/31/201cb84ab7af0725fac2bec9f12baa156a026e
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/07a86afd905f95e692e04bfee335de2c663fe5
/usr/lib/.build-id/90
/usr/lib/.build-id/90/977f4338c3206c190cd023fbea4ebfca0306a4
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/1dede047bd29b1b950fc7aec34987eceea1275
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/08fbd2fba5aa39d6b53237e5fddca98adc4260
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/d0dcdb3e7c50ef32ee62e8d4d23b4f78557191
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/ef8ead1cb4817e1b6f50e9c0621b786694641f
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/03efb11dcc5de03b2b22ab9d068e60ecf606c8
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/b83146ace1c2a0407e676306d99e066be8bd58
/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/cmtcr.so
/usr/lib64/mstflint/python_tools/dev_mgt.py
/usr/lib64/mstflint/python_tools/mft_logger.py
/usr/lib64/mstflint/python_tools/mlxpci
/usr/lib64/mstflint/python_tools/mlxpci/binary_file.py
/usr/lib64/mstflint/python_tools/mlxpci/mlxpci_lib.py
/usr/lib64/mstflint/python_tools/mstfwreset
/usr/lib64/mstflint/python_tools/mstfwreset/mlxfwresetlib
/usr/lib64/mstflint/python_tools/mstfwreset/mlxfwresetlib/__init__.py
/usr/lib64/mstflint/python_tools/mstfwreset/mlxfwresetlib/cmd_reg_mcam.py
/usr/lib64/mstflint/python_tools/mstfwreset/mlxfwresetlib/cmd_reg_mfrl.py
/usr/lib64/mstflint/python_tools/mstfwreset/mlxfwresetlib/cmd_reg_mpcir.py
/usr/lib64/mstflint/python_tools/mstfwreset/mlxfwresetlib/logger.py
/usr/lib64/mstflint/python_tools/mstfwreset/mlxfwresetlib/mcra.py
/usr/lib64/mstflint/python_tools/mstfwreset/mlxfwresetlib/mlnx_peripheral_components.py
/usr/lib64/mstflint/python_tools/mstfwreset/mlxfwresetlib/mlxfwreset_mlnxdriver.py
/usr/lib64/mstflint/python_tools/mstfwreset/mlxfwresetlib/mlxfwreset_status_checker.py
/usr/lib64/mstflint/python_tools/mstfwreset/mlxfwresetlib/mlxfwreset_utils.py
/usr/lib64/mstflint/python_tools/mstfwreset/mlxfwresetlib/pci_device.py
/usr/lib64/mstflint/python_tools/mstfwreset/mstfwreset.py
/usr/lib64/mstflint/python_tools/mstfwtrace
/usr/lib64/mstflint/python_tools/mstfwtrace/fw_trace_utilities.py
/usr/lib64/mstflint/python_tools/mstfwtrace/mstfwtrace.py
/usr/lib64/mstflint/python_tools/mstfwtrace/secure_fw_trace.py
/usr/lib64/mstflint/python_tools/mstprivhost
/usr/lib64/mstflint/python_tools/mstprivhost/mstprivhost.py
/usr/lib64/mstflint/python_tools/mstresourcedump
/usr/lib64/mstflint/python_tools/mstresourcedump/__init__.py
/usr/lib64/mstflint/python_tools/mstresourcedump/commands
/usr/lib64/mstflint/python_tools/mstresourcedump/commands/CommandFactory.py
/usr/lib64/mstflint/python_tools/mstresourcedump/commands/DumpCommand.py
/usr/lib64/mstflint/python_tools/mstresourcedump/commands/QueryCommand.py
/usr/lib64/mstflint/python_tools/mstresourcedump/commands/ResDumpCommand.py
/usr/lib64/mstflint/python_tools/mstresourcedump/commands/__init__.py
/usr/lib64/mstflint/python_tools/mstresourcedump/fetchers
/usr/lib64/mstflint/python_tools/mstresourcedump/fetchers/CapabilityFetcher.py
/usr/lib64/mstflint/python_tools/mstresourcedump/fetchers/ResourceDumpFetcher.py
/usr/lib64/mstflint/python_tools/mstresourcedump/fetchers/__init__.py
/usr/lib64/mstflint/python_tools/mstresourcedump/filters
/usr/lib64/mstflint/python_tools/mstresourcedump/filters/SegmentsFilter.py
/usr/lib64/mstflint/python_tools/mstresourcedump/filters/__init__.py
/usr/lib64/mstflint/python_tools/mstresourcedump/mstresourcedump.py
/usr/lib64/mstflint/python_tools/mstresourcedump/resource_data
/usr/lib64/mstflint/python_tools/mstresourcedump/resource_data/DataPrinter.py
/usr/lib64/mstflint/python_tools/mstresourcedump/resource_data/DumpData.py
/usr/lib64/mstflint/python_tools/mstresourcedump/resource_data/QueryData.py
/usr/lib64/mstflint/python_tools/mstresourcedump/resource_data/__init__.py
/usr/lib64/mstflint/python_tools/mstresourcedump/segments
/usr/lib64/mstflint/python_tools/mstresourcedump/segments/CommandSegment.py
/usr/lib64/mstflint/python_tools/mstresourcedump/segments/ErrorSegment.py
/usr/lib64/mstflint/python_tools/mstresourcedump/segments/InfoSegment.py
/usr/lib64/mstflint/python_tools/mstresourcedump/segments/MenuRecord.py
/usr/lib64/mstflint/python_tools/mstresourcedump/segments/MenuSegment.py
/usr/lib64/mstflint/python_tools/mstresourcedump/segments/NoticeSegment.py
/usr/lib64/mstflint/python_tools/mstresourcedump/segments/RefSegment.py
/usr/lib64/mstflint/python_tools/mstresourcedump/segments/ResourceSegment.py
/usr/lib64/mstflint/python_tools/mstresourcedump/segments/Segment.py
/usr/lib64/mstflint/python_tools/mstresourcedump/segments/SegmentCreator.py
/usr/lib64/mstflint/python_tools/mstresourcedump/segments/SegmentFactory.py
/usr/lib64/mstflint/python_tools/mstresourcedump/segments/TerminateSegment.py
/usr/lib64/mstflint/python_tools/mstresourcedump/segments/__init__.py
/usr/lib64/mstflint/python_tools/mstresourcedump/utils
/usr/lib64/mstflint/python_tools/mstresourcedump/utils/Exceptions.py
/usr/lib64/mstflint/python_tools/mstresourcedump/utils/__init__.py
/usr/lib64/mstflint/python_tools/mstresourcedump/utils/constants.py
/usr/lib64/mstflint/python_tools/mstresourcedump/validation
/usr/lib64/mstflint/python_tools/mstresourcedump/validation/ArgToMenuVerifier.py
/usr/lib64/mstflint/python_tools/mstresourcedump/validation/CapabilityValidator.py
/usr/lib64/mstflint/python_tools/mstresourcedump/validation/__init__.py
/usr/lib64/mstflint/python_tools/mstresourceparse
/usr/lib64/mstflint/python_tools/mstresourceparse/__init__.py
/usr/lib64/mstflint/python_tools/mstresourceparse/mstresourceparse.py
/usr/lib64/mstflint/python_tools/mstresourceparse/parsers
/usr/lib64/mstflint/python_tools/mstresourceparse/parsers/AdbParser.py
/usr/lib64/mstflint/python_tools/mstresourceparse/parsers/Parser.py
/usr/lib64/mstflint/python_tools/mstresourceparse/parsers/__init__.py
/usr/lib64/mstflint/python_tools/mstresourceparse/resource_data
/usr/lib64/mstflint/python_tools/mstresourceparse/resource_data/AdbData.py
/usr/lib64/mstflint/python_tools/mstresourceparse/resource_data/DataPrinter.py
/usr/lib64/mstflint/python_tools/mstresourceparse/resource_data/RawData.py
/usr/lib64/mstflint/python_tools/mstresourceparse/resource_data/__init__.py
/usr/lib64/mstflint/python_tools/mstresourceparse/segments
/usr/lib64/mstflint/python_tools/mstresourceparse/segments/CommandSegment.py
/usr/lib64/mstflint/python_tools/mstresourceparse/segments/ErrorSegment.py
/usr/lib64/mstflint/python_tools/mstresourceparse/segments/InfoSegment.py
/usr/lib64/mstflint/python_tools/mstresourceparse/segments/MenuRecord.py
/usr/lib64/mstflint/python_tools/mstresourceparse/segments/MenuSegment.py
/usr/lib64/mstflint/python_tools/mstresourceparse/segments/NoticeSegment.py
/usr/lib64/mstflint/python_tools/mstresourceparse/segments/RefSegment.py
/usr/lib64/mstflint/python_tools/mstresourceparse/segments/ResourceSegment.py
/usr/lib64/mstflint/python_tools/mstresourceparse/segments/Segment.py
/usr/lib64/mstflint/python_tools/mstresourceparse/segments/SegmentCreator.py
/usr/lib64/mstflint/python_tools/mstresourceparse/segments/SegmentFactory.py
/usr/lib64/mstflint/python_tools/mstresourceparse/segments/TerminateSegment.py
/usr/lib64/mstflint/python_tools/mstresourceparse/segments/__init__.py
/usr/lib64/mstflint/python_tools/mstresourceparse/utils
/usr/lib64/mstflint/python_tools/mstresourceparse/utils/Exceptions.py
/usr/lib64/mstflint/python_tools/mstresourceparse/utils/__init__.py
/usr/lib64/mstflint/python_tools/mstresourceparse/utils/constants.py
/usr/lib64/mstflint/python_tools/mtcr.py
/usr/lib64/mstflint/python_tools/regaccess.py
/usr/lib64/mstflint/python_tools/rreg_access.so
/usr/lib64/mstflint/python_tools/tools_version.py
/usr/share/doc/mstflint
/usr/share/doc/mstflint/README
/usr/share/man/man1/mstarchive.1.gz
/usr/share/man/man1/mstconfig.1.gz
/usr/share/man/man1/mstcongestion.1.gz
/usr/share/man/man1/mstflint.1.gz
/usr/share/man/man1/mstfwmanager.1.gz
/usr/share/man/man1/mstfwreset.1.gz
/usr/share/man/man1/mstfwtrace.1.gz
/usr/share/man/man1/mstlink.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/mstprivhost.1.gz
/usr/share/man/man1/mstreg.1.gz
/usr/share/man/man1/mstregdump.1.gz
/usr/share/man/man1/mstresourcedump.1.gz
/usr/share/man/man1/mstvpd.1.gz
/usr/share/mstflint
/usr/share/mstflint/BlueField.csv
/usr/share/mstflint/BlueField2.csv
/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/ConnectX6.csv
/usr/share/mstflint/ConnectX6DX.csv
/usr/share/mstflint/ConnectX6LX.csv
/usr/share/mstflint/ConnectX7.csv
/usr/share/mstflint/InfiniScaleIV.csv
/usr/share/mstflint/Quantum.csv
/usr/share/mstflint/Spectrum.csv
/usr/share/mstflint/Spectrum3.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 on Rocky Linux 8 using yum and dnf.