How to Install and Uninstall hwloc Package on openSUSE Leap

Last updated: May 19,2024

1. Install "hwloc" package

Here is a brief guide to show you how to install hwloc on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install hwloc

2. Uninstall "hwloc" package

Please follow the guidelines below to uninstall hwloc on openSUSE Leap:

$ sudo zypper remove hwloc

3. Information about the hwloc package on openSUSE Leap

Information for package hwloc:
------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : hwloc
Version : 2.9.0-150400.3.6.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 724.0 KiB
Installed : No
Status : not installed
Source package : hwloc-2.9.0-150400.3.6.1.src
Upstream URL : https://www.open-mpi.org/projects/hwloc/
Summary : Portable Hardware Locality
Description :
The Portable Hardware Locality (hwloc) software package provides
an abstraction (across OS, versions, architectures, ...)
of the hierarchical topology of modern architectures, including
NUMA memory nodes, shared caches, processor sockets, processor cores
and processing units (logical processors or "threads"). It also gathers
various system attributes such as cache and memory information. It primarily
aims at helping applications with gathering information about modern
computing hardware so as to exploit it accordingly and efficiently.
hwloc may display the topology in multiple convenient formats.
It also offers a powerful programming interface (C API) to gather information
about the hardware, bind processes, and much more.