How To Install mstflint on Fedora 36

In this tutorial we learn how to install mstflint in Fedora 36. mstflint is Mellanox firmware burning tool

Introduction

In this tutorial we learn how to install mstflint on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mstflint.

Install mstflint on Fedora 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove mstflint

mstflint Package Contents on Fedora 36

/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/02
/usr/lib/.build-id/02/0cdee1d91ea6eb5ab7a1124949a16e5a15fd44
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/16f3729aa60155c52008387249dfda14f06557
/usr/lib/.build-id/20
/usr/lib/.build-id/20/23e31158f229eca044a6ac9e693090affb3072
/usr/lib/.build-id/60
/usr/lib/.build-id/60/25d1a8c810871bacf8b9313fbf20e659a72990
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/76ccf16c45cca238e7f2fc13556af6aa62c39a
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/2f5b52d4c7db9bb38c59976ab42929d585d9da
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/b28f845c927a38debeb1d7eac0ff0ad829ed7d
/usr/lib/.build-id/af
/usr/lib/.build-id/af/50d8e178ca792b5f2a258fdf492311094d3754
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/a8d2adb4363a8e44e1e4ed3d3b0b5a940455cf
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/2b30fe6b3620302ec8901c6f01aa16839dbd8c
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/9fdcceea249cb733bbc63ccf66ebf1da678586
/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/BlueField3.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/Spectrum2.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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).