Hardinfo2 – Check Hardware Information in Linux

Hardinfo2 (in short for “hardware information“) is a system profiler and benchmark graphical tool for Linux systems, that is able to gather information from both hardware and some software and organize it in an easy-to-use GUI tool.

Hardinfo2 can show information about these components: CPU, GPU, Motherboard, RAM, Storage, Hard Disk, Printers, Benchmarks, Sound, Network, and USB as well as some system information like the distribution name, version, and Linux Kernel info.

Besides being able to print hardware information, Hardinfo2 can also create an advanced report from the command line or by clicking the “Generate Report” button in the GUI and save it in either HTML or plain text formats.

The difference between Hardinfo2 and the other Linux hardware information tools is that the information is well arranged and easier to understand than other such tools.

How to Install Hardinfo2 in Linux

HardInfo is a most popular graphical application and it is tested on Ubuntu/Mint, Debian, OpenSUSE, Fedora/CentOS/RHEL, Arch Linux, and Manjaro Linux.

To install hardinfo, go to the hardinfo GitHub releases page and download the corresponding binary (.deb or .rpm) for your Linux distribution and install it using a package manager.

Alternatively, you can build and install hardinfo2 from sources in Debian-based distributions, run:

sudo apt install git cmake build-essential gettext
sudo apt install libjson-glib-dev zlib1g-dev libsoup2.4-dev libgtk-3-dev libglib2.0-dev
git clone https://github.com/hardinfo2/hardinfo2
cd hardinfo2
mkdir build
cd build
cmake ..
make package -j 
sudo apt install ./hardinfo_* 
sudo apt install lm-sensors sysbench lsscsi mesa-utils dmidecode udisks2 xdg-utils iperf3
hardinfo2

To install hardinfo2 in RHEL-based distributions, run:

sudo yum install epel-release
sudo yum install git cmake gcc gcc-c++ gettext rpmdevtools
sudo yum install json-glib-devel zlib-devel libsoup-devel gtk3-devel
git clone https://github.com/hardinfo2/hardinfo2
cd hardinfo2
mkdir build
cd build
cmake ..
make package -j
sudo yum install ./hardinfo-*
sudo yum install lm_sensors sysbench lsscsi glx-utils dmidecode udisks2 xdg-utils iperf3
hardinfo2

How to Use HardInfo in Linux

Once installed, open up hardinfo2 on your computer. It’s a graphical application, and it should be categorized under System by the name System Profiler and Benchmark in your distribution’s launcher.

Once it’s open, you will see various tabs in the left sidebar organized by category, and the information contained in those tabs listed on the right side.

For example, you can view information about your system.

Linux System Information
Linux System Information
Linux System Summary
Linux System Summary
Linux System Security
Linux System Security
Linux System Processor
Linux System Processor

All this information can be viewed in the command line, especially from the /proc directory.

In Linux, there are other tools for getting system hardware information, but in this article, we have talked about the ‘hardinfo2‘ tool. If you know of any other similar tools, please share them in the comments.

Ravi Saive
I am an experienced GNU/Linux expert and a full-stack software developer with over a decade in the field of Linux and Open Source technologies

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

7 thoughts on “Hardinfo2 – Check Hardware Information in Linux”

  1. What a cool tool. Thanks for the instructions. For my Fedora installation, I also had to install:

    cmake
    g++
    gtk2-devel
    json-glib-devel

    Reply
  2. Is this available only to Ubuntu or other distros as well. If so, it would have been nice if you mentioned that fact. I can’t find it in Fedora.

    john

    Reply

Got something to say? Join the discussion.

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.