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 lshwClick to copy -
Ubuntu
apt-get install lshwClick to copy -
Alpine OS
apk add lshwClick to copy -
Arch Linux
pacman -S lshwClick to copy -
Kali Linux
apt-get install lshwClick to copy -
CentOS
yum install lshwClick to copy -
Fedora
dnf install lshwClick to copy -
Raspbian
apt-get install lshwClick 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 -XClick to copyList all hardwares in tabular format:sudo lshw -shortClick to copyList all disks and storage controllers in tabular format:sudo lshw -class disk -class storage -shortClick to copySave all network interfaces to an HTML file:sudo lshw -class network -html > interfaces.htmlClick 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.




