pdal-config command not found

In this troubleshooting guide we learn how to fix pdal-config command not found error message

Introduction

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

pdal-config: command not found

or when using sudo you get the following error message

sudo: pdal-config: command not found

Solutions to pdal-config: command not found

How To Fix pdal-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pdal-config is provided by libpdal-dev package.

libpdal-dev is:

PDAL is a BSD licensed library for translating and manipulating point cloud data of various formats. PDAL can be used to read, write and translate point cloud data in many formats. Support is included for input files of LAS, LAZ, SBET, BPF, QFIT and others. PDAL can also read from and write to databases that support point cloud storage, including Oracle, Postgres and SQLite.

PDAL should not be confused with PCL (Point Cloud Library). PCL is a library specifically designed to provide algorithmic analysis and modification of point clouds. PDAL provides a limited interface to the facilities of PCL, but does not in general attempt to duplicate its capabilities.

This package contains the PDAL development files.

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

sudo apt-get -y install libpdal-dev

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

You can also use apt command to install libpdal-dev.

sudo apt -y install libpdal-dev

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

sudo aptitude install libpdal-dev

Summary

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