wbemcli command not found

In this troubleshooting guide we learn how to fix wbemcli command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

wbemcli: command not found

or when using sudo you get the following error message

sudo: wbemcli: command not found

Solutions to wbemcli: command not found

How To Fix wbemcli: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu wbemcli is provided by sblim-wbemcli package.

sblim-wbemcli is:

The WBEM Command Line Interface is a standalone, convenient systems management utility for CIMOM access. Invocation and output syntax are problem-oriented and easy to process by shell and Perl scripts, making wbemcli well suited for administrators writing their own management scripts and for WBEM developers wanting to test their providers.

WBEM (Web-Based Enterprise Management) is a successor of SNMP and the basis of SMI-S (Storage Management Initiative - a standard interface to storage devices). CIM (Common Information Model, the data model of WBEM) has a much wider scope, thus more ambitious projects like OpenPegasus exist, but this simple utility from the SBLIM project is enough to query disk and RAID states of SMI-S compatible storage products from their CIM Object Manager, for example.

To fix this problem, we can install more using the command below.

sudo apt-get -y install sblim-wbemcli

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install sblim-wbemcli.

sudo apt -y install sblim-wbemcli

Or if you have aptitude installed you can use the following command.

sudo aptitude install sblim-wbemcli

Summary

In this tutorial we learn how to fix wbemcli command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.