citygmltest command not found

In this troubleshooting guide we learn how to fix citygmltest command not found error message

Introduction

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

citygmltest: command not found

or when using sudo you get the following error message

sudo: citygmltest: command not found

Solutions to citygmltest: command not found

How To Fix citygmltest: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu citygmltest is provided by libcitygml-bin package.

libcitygml-bin is:

libcitygml is a small and easy to use open source C++ library for parsing CityGML files in such a way that data can be easily exploited by 3D rendering applications (geometry data are tesselated and optimized for rendering during parsing). For instance, it can be used to develop readers of CityGML files in many 3D based applications (OpenGL, OpenSceneGraph, …) Most metadata are not lost, they are available through a per-node hashmap.

CityGML (City Geography Markup Language) is an XML-based schema for the modelling and exchange of georeferenced 3D city and landscape models that is quickly being adopted on an international level.

This package contains the citygmltest utility.

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

sudo apt-get -y install libcitygml-bin

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

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

sudo apt -y install libcitygml-bin

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

sudo aptitude install libcitygml-bin

Summary

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