osmpbf-outline command not found

In this troubleshooting guide we learn how to fix osmpbf-outline command not found error message

Introduction

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

osmpbf-outline: command not found

or when using sudo you get the following error message

sudo: osmpbf-outline: command not found

Solutions to osmpbf-outline: command not found

How To Fix osmpbf-outline: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu osmpbf-outline is provided by osmpbf-bin package.

osmpbf-bin is:

Osmpbf is a Java/C library to read and write OpenStreetMap PBF files. PBF (Protocol buffer Binary Format) is a binary file format for OpenStreetMap data that uses Google Protocol Buffers as low-level storage.

This package provides various tools to deal with OpenStreetMap PBF file format.

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

sudo apt-get -y install osmpbf-bin

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

You can also use apt command to install osmpbf-bin.

sudo apt -y install osmpbf-bin

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

sudo aptitude install osmpbf-bin

Summary

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