opimport command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
opimport: command not found
or when using sudo you get the following error message
sudo: opimport: command not found
Solutions to opimport: command not found
How To Fix opimport: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu opimport is provided by oprofile package.
oprofile is:
OProfile is a performance profiling tool for Linux systems, capable of profiling all running code at low overhead. It consists of a daemon for collecting sample data, plus several post-profiling tools for turning data into information.
OProfile leverages the hardware performance counters of the CPU to enable profiling of a wide variety of interesting statistics, which can also be used for basic time-spent profiling. All code is profiled: hardware and software interrupt handlers, kernel modules, the kernel, shared libraries, and applications (the only exception being the OProfile interrupt handler itself). Note that different architectures can use different hardware mechanisms to collect data.
OProfile is currently in alpha status; however it has proven stable over a large number of differing configurations. As always, there is no warranty.
To fix this problem, we can install more using the command below.
sudo apt-get -y install oprofile
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install oprofile.
sudo apt -y install oprofile
Or if you have aptitude installed you can use the following command.
sudo aptitude install oprofile
Summary
In this tutorial we learn how to fix opimport command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.