Skip to content

Latest commit

 

History

History
519 lines (317 loc) · 14.2 KB

INSTALL.md

File metadata and controls

519 lines (317 loc) · 14.2 KB

INSTALL HOWTO

HW Probe 1.6.5 (Sep 18, 2022)

This file explains how to install and setup environment for the tool in your computer.

Just find the name of your Linux distribution or BSD variant on this page.

See more info in the README.md.

Contents

Run without Installing

You can probe your computer by AppImage, Docker, Snap, Flatpak or Live CD/USB without the need to install anything on your host.

Command line to Run

sudo -E hw-probe -all -upload

Install on Ubuntu

On Ubuntu and Ubuntu based Linux distributions (elementary OS, GalliumOS, HamoniKR, KDE neon, Kubuntu, Linuxfx, Linux Lite, Linux Mint, Lubuntu, Makulu Linux, Peppermint, Pop!_OS, Trisquel, Ubuntu Kylin, WindowsFX, Xubuntu, Zorin, etc.).

Ubuntu package

The package is available in Ubuntu 20.04 or newer and its derivatives (https://packages.ubuntu.com/focal/hw-probe):

sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install hw-probe --no-install-recommends

For older Ubuntu versions try package from Ubuntu 20.04: hw-probe_1.5-1_all.deb

Upstream package

Download Debian package hw-probe_1.5-1_all.deb and install:

sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install ./hw-probe_1.5-1_all.deb --no-install-recommends
Snap

The Snap package is also available to install and run easily on Ubuntu without the need to install any Deb packages to your system.

Install on Debian

On Debian and Debian based Linux distributions (Kali, LMDE, MX Linux, antiX, Devuan, PureOS, Parrot, Pardus, deepin, BunsenLabs, SolydXK, SparkyLinux, Q4OS, Tails, Raspbian, BigLinux, siduction, Nitrux, Kaisen, etc.).

Enable sudo by https://wiki.debian.org/sudo if not enabled.

Debian package

The package is available in Debian 11 Bullseye or newer and its derivatives (https://packages.debian.org/bullseye/hw-probe):

sudo apt install hw-probe --no-install-recommends
Unstable package
sudo apt-get install debian-archive-keyring
sudo sh -c 'echo deb http://deb.debian.org/debian unstable main > /etc/apt/sources.list.d/debian-sid.list'
sudo apt-get update
sudo apt-get install --no-install-recommends hw-probe
sudo rm -f /etc/apt/sources.list.d/debian-sid.list
sudo apt-get update
Upstream package

Download Deb package hw-probe_1.5-1_all.deb and install:

sudo apt-get update
sudo dpkg -i ./hw-probe_1.5-1_all.deb
sudo apt-get install -f --no-install-recommends

Install on BSD

On FreeBSD and derivatives (GhostBSD, NomadBSD, FuryBSD, TrueOS, PC-BSD, HardenedBSD, FreeNAS, TrueNAS, pfSense, OPNsense, XigmaNAS, DesktopBSD, ArisbluBSD, helloSystem, etc.), OpenBSD and derivatives (AdJ, FuguIta, etc.), NetBSD and derivatives (OS108, etc.), DragonFly and MidnightBSD.

See INSTALL.BSD.md.

Install on Fedora

On Fedora 28 or newer and derivatives (Nobara, risiOS, Ultramarine, etc.):

sudo dnf install hw-probe

Install on Manjaro

On Manjaro 18 or newer and derivatives (Mabox, etc.):

sudo pacman -S hw-probe

Try sudo pacman -Syu if pacman can't find the package.

Install on Acronis Cyber Infrastructure

Use AppImage on Acronis Cyber Infrastructure and Virtuozzo Hybrid Infrastructure.

Install on Alpine

sudo apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing hw-probe

Install on Arch Linux

On Arch Linux and derivatives (Artix, EndeavourOS, RebornOS, Garuda, KaOS, Archman, Bluestar, LaxerOS, etc.):

From AUR

When using Live CD/USB you need to add cow_spacesize=512M boot option to have enough space.

Install edid-decode dependency:

pacman -Syu git binutils fakeroot make gcc
git clone https://aur.archlinux.org/edid-decode-git.git
cd edid-decode-git
makepkg -sri

Install hardware probe:

git clone https://aur.archlinux.org/hw-probe.git
cd hw-probe
makepkg -sri
Upstream package

Download package hw-probe-1.5-ArchLinux-any.pkg.tar.xz and install by pacman:

sudo pacman -U ./hw-probe-1.5-ArchLinux-any.pkg.tar.xz

Install on ArcoLinux

Pre-installed on ArcoLinux v20.11.9 and newer.

Install on blackPanther

On blackPanther OS 16.2 and newer:

installing hw-probe

This command will install all the dependencies as well.

Install on CentOS

On CentOS 9, CentOS 8, CentOS 7 and CentOS 6:

sudo yum install epel-release
sudo yum install hw-probe
Old systems

If installation from EPEL is not possible.

On early CentOS 7 installations:

curl https://raw.githubusercontent.com/linuxhw/hw-probe/master/hw-probe.pl | sudo dd of=/usr/bin/hw-probe
sudo chmod +x /usr/bin/hw-probe
sudo yum install -y http://li.nux.ro/download/nux/dextop/el7/x86_64/libx86emu-1.1-2.1.x86_64.rpm
sudo yum install -y http://li.nux.ro/download/nux/dextop/el7/x86_64/hwinfo-20.2-5.3.x86_64.rpm
sudo yum install -y curl dmidecode smartmontools hdparm lm_sensors usbutils pciutils mcelog

On early CentOS 6 installations:

curl https://raw.githubusercontent.com/linuxhw/hw-probe/master/hw-probe.pl | sudo dd of=/usr/bin/hw-probe
sudo chmod +x /usr/bin/hw-probe
sudo yum install -y http://mirror.ghettoforge.org/distributions/gf/el/6/gf/x86_64/libx86emu-1.1-1.gf.el6.x86_64.rpm
sudo yum install -y http://mirror.ghettoforge.org/distributions/gf/el/6/gf/x86_64/hwinfo-20.2-1.gf.el6.x86_64.rpm
sudo yum install -y curl dmidecode smartmontools hdparm lm_sensors usbutils pciutils mcelog

Install on Chrome OS

Open settings, turn on support for Linux and open the Linux Terminal. Now use AppImage or install the Flatpak.

Install on Clear Linux

See https://clearlinux.org/software/flathub/hardware-probe

sudo swupd bundle-add desktop
flatpak install flathub org.linux_hardware.hw-probe
flatpak run org.linux_hardware.hw-probe -all -upload

Install on ClearOS

sudo yum-config-manager --enable clearos-centos
sudo yum-config-manager --enable clearos-epel
sudo yum install hw-probe

Install on EasyOS

Update local database by Menu > Setup > PETget Package Manager > Configure package manager > Update now. Install perl-base, libhd, hwinfo, util-linux and smartmontools by Menu > Setup > PETget Package Manager.

Open the console:

curl https://raw.githubusercontent.com/linuxhw/hw-probe/master/hw-probe.pl | dd of=/usr/bin/hw-probe
chmod +x /usr/bin/hw-probe

Install on Endless

Search for "Hardware Probe" program in the App Center.

See https://flathub.org/apps/details/org.linux_hardware.hw-probe

Install on Gentoo

On Gentoo and Gentoo based Linux distributions (CloudReady, Calculate, Funtoo, Redcore, LiGurOS, etc.):

sudo emerge --ask sys-apps/hw-probe
Bobwya repository

With app-eselect/eselect-repository installed:

sudo eselect repository enable bobwya
sudo emerge --ask sys-apps/hw-probe
Manual
sudo emerge --ask sys-apps/hwinfo
sudo emerge --ask sys-apps/pciutils
sudo emerge --ask sys-apps/usbutils
sudo emerge --ask sys-apps/dmidecode
curl https://raw.githubusercontent.com/linuxhw/hw-probe/master/hw-probe.pl | sudo dd of=/usr/bin/hw-probe
sudo chmod +x /usr/bin/hw-probe

Install on Hefftor

For Hefftor 2021-01 and newer:

sudo pacman -Syu hw-probe

Install on Mageia

Upstream package

For Mageia 5 and newer:

su
urpmi https://github.com/linuxhw/hw-probe/releases/download/1.5/hw-probe-1.5-Mageia5.noarch.rpm edid-decode

Install on Navy Linux

On Navy Linux 8:

dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf install hw-probe

Install on NixOS

Use Docker or Flatpak.

Install on OpenMandriva

Pre-installed on OpenMandriva Lx 4.0 and newer.

Install on openSUSE

On openSUSE Leap 15.5 and newer / Tumbleweed and derivatives (GeckoLinux, etc.):

sudo zypper install hw-probe

openSUSE Leap 15.4:

sudo zypper addrepo https://download.opensuse.org/repositories/hardware/openSUSE_Leap_15.4/ hardware
sudo zypper install hw-probe

For other versions select and install an RPM package: https://software.opensuse.org/package/hw-probe

Install on OpenVZ

On OpenVZ 9, OpenVZ 8 and OpenVZ 7:

sudo yum install epel-release --nogpgcheck
sudo yum install hw-probe --nogpgcheck

Install on Oracle Linux

On Oracle Linux 7:

sudo yum-config-manager --add-repo=http://download.fedoraproject.org/pub/epel/7/x86_64/
sudo yum install epel-release
sudo yum install hw-probe

On Oracle Linux 8 and newer use AppImage.

Install on PCLinuxOS

Use AppImage.

Install on Puppy

The package is available in Puppy 9 and newer (FossaPup64, etc.):

  • Open Menu > Setup > Puppy Package Manager
  • Update local package database by Configure > Update database > Update now
  • Find hw-probe package and install

On Puppy 7 XenialPup64 and Puppy 8 BionicPup64:

Update local package database by Menu > Setup > Puppy Package Manager > Configure > Update database > Update now. Install perl-base, hwinfo, util-linux and smartmontools by Menu > Setup > Puppy Package Manager.

curl https://raw.githubusercontent.com/linuxhw/hw-probe/master/hw-probe.pl | sudo dd of=/usr/bin/hw-probe
sudo chmod +x /usr/bin/hw-probe

Install on QTS

Use Docker.

Install on RHCOS

Use Docker.

Install on RHEL

On RHEL 6-9 and RHEL based Linux distributions (AlmaLinux, CentOS, CloudLinux, Rocky Linux, Scientific Linux, Springdale Linux, etc.):

sudo yum install epel-release
sudo yum install hw-probe

Install on ROSA

Pre-installed on ROSA Fresh R4 and newer.

Install on Sabayon

Use AppImage.

Install on Slackware

On Slackware and Slackware based Linux distributions (Porteus, Slax, etc.).

Use AppImage, Docker or Flatpak.

Install on Solus

Use AppImage or Flatpak.

Install on SteamOS

Use AppImage or Flatpak.

Install on Virtuozzo Linux

On Virtuozzo Linux 8 and newer:

sudo dnf install tar epel-release --nogpgcheck
sudo dnf install hw-probe --nogpgcheck

Install on Void Linux

Use AppImage or Flatpak.

Install from Source

This command will install the hw-probe program in the PREFIX/bin system directory:

sudo make install prefix=PREFIX [/usr, /usr/local, ...]

To uninstall:

sudo make uninstall prefix=PREFIX
Requires
Recommends
  • libwww-perl (to use instead of curl)
  • mcelog
  • hdparm
  • systemd-tools (systemd-analyze)
  • acpica-tools
  • drm_info
  • mesa-demos
  • memtester
  • sysstat (iostat)
  • cpuid
  • rfkill
  • xinput
  • vainfo
  • inxi
  • vulkan-utils
  • i2c-tools
  • opensc

Enjoy!