How To Install libcitygml2 on Kali Linux

In this tutorial we learn how to install libcitygml2 on Kali Linux. libcitygml2 is Open source C++ library for parsing CityGML files

Introduction

In this tutorial we learn how to install libcitygml2 on Kali Linux.

What is libcitygml2

libcitygml2 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 share library.

There are three methods to install libcitygml2 on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libcitygml2 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libcitygml2 using apt-get by running the following command:

sudo apt-get -y install libcitygml2

Install libcitygml2 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libcitygml2 using apt by running the following command:

sudo apt -y install libcitygml2

Install libcitygml2 Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libcitygml2 using aptitude by running the following command:

sudo aptitude -y install libcitygml2

How To Uninstall libcitygml2 on Kali Linux

To uninstall only the libcitygml2 package we can use the following command:

sudo apt-get remove libcitygml2

Uninstall libcitygml2 And Its Dependencies

To uninstall libcitygml2 and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libcitygml2

Remove libcitygml2 Configurations and Data

To remove libcitygml2 configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libcitygml2

Remove libcitygml2 configuration, data, and all of its dependencies

We can use the following command to remove libcitygml2 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libcitygml2

Dependencies

libcitygml2 have the following dependencies:

References

Summary

In this tutorial we learn how to install libcitygml2 package on Kali Linux using different package management tools: apt, apt-get and aptitude.