How To Install Lshw In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian?
Maintainer: Ghe Rivero
Email: [email protected] .
Website: https://github.com/lyonel/lshw
Section: utils
Install lshw
-
Debian
apt-get install lshw
Click to copy -
Ubuntu
apt-get install lshw
Click to copy -
Alpine OS
apk add lshw
Click to copy -
Arch Linux
pacman -S lshw
Click to copy -
Kali Linux
apt-get install lshw
Click to copy -
CentOS
yum install lshw
Click to copy -
Fedora
dnf install lshw
Click to copy -
Raspbian
apt-get install lshw
Click to copy
List detailed information about hardware configurations as root user.
How to use lshw?
Below are few example commands for lshw that you can use in the terminal.
Launch the GUI:sudo lshw -X
Click to copyList all hardwares in tabular format:sudo lshw -short
Click to copyList all disks and storage controllers in tabular format:sudo lshw -class disk -class storage -short
Click to copySave all network interfaces to an HTML file:sudo lshw -class network -html > interfaces.html
Click to copy
Install the latest version of lshw in Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora and Raspbian from terminal. To install the lshw just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of lshw from the respository and install it in your computer/server.