ptdump command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ptdump: command not found
or when using sudo you get the following error message
sudo: ptdump: command not found
Solutions to ptdump: command not found
How To Fix ptdump: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ptdump is provided by python3-tables package.
python3-tables is:
PyTables is a package for managing hierarchical datasets and designed to efficiently cope with extremely large amounts of data.
It is built on top of the HDF5 library and the NumPy package. It features an object-oriented interface that, combined with C extensions for the performance-critical parts of the code (generated using Cython), makes it a fast, yet extremely easy to use tool for interactively save and retrieve very large amounts of data. One important feature of PyTables is that it optimizes memory and disk resources so that they take much less space (between a factor 3 to 5, and more if the data is compressible) than other solutions, like for example, relational or object oriented databases.
- Compound types (records) can be used entirely from Python (i.e. it is not necessary to use C for taking advantage of them).
- The tables are both enlargeable and compressible.
- I/O is buffered, so you can get very fast I/O, specially with large tables.
- Very easy to select data through the use of iterators over the rows in tables. Extended slicing is supported as well.
- It supports the complete set of NumPy objects.
This is the Python 3 version of the package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-tables
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-tables.
sudo apt -y install python3-tables
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-tables
Summary
In this tutorial we learn how to fix ptdump command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.