smc_pnet command not found

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

Introduction

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

smc_pnet: command not found

or when using sudo you get the following error message

sudo: smc_pnet: command not found

Solutions to smc_pnet: command not found

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

In Ubuntu smc_pnet is provided by smc-tools package.

smc-tools is:

Shared Memory Communication Tools (smc-tools) enables usage of SMC sockets in Linux. This package includes ld-preloadable library and utilities to facilitate wrap and use SMC sockets, where TCP ones are expected.

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

sudo apt-get -y install smc-tools

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

You can also use apt command to install smc-tools.

sudo apt -y install smc-tools

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

sudo aptitude install smc-tools

Summary

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