osmosis command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
osmosis: command not found
or when using sudo you get the following error message
sudo: osmosis: command not found
Solutions to osmosis: command not found
How To Fix osmosis: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu osmosis is provided by osmosis package.
osmosis is:
Osmosis consists of a series of components that can be chained together in order to perform operations on an OpenStreetMap database or OpenStreetMap XML or PBF files. Such operations include:
- Generate and load dumps from and to a database.
- Produce changesets comparing databases and files and applying them to other databases and files.
- Sort data contained in a file.
- Extract data contained in a bounding box or in a polygon.
To fix this problem, we can install more using the command below.
sudo apt-get -y install osmosis
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install osmosis.
sudo apt -y install osmosis
Or if you have aptitude installed you can use the following command.
sudo aptitude install osmosis
Summary
In this tutorial we learn how to fix osmosis command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.