How To Install colmap on Kali Linux
Introduction
In this tutorial we learn how to install colmap on Kali Linux.
What is colmap
colmap is:
This is a general-purpose Structure-from-Motion (SfM) and Multi-View Stereo (MVS) pipeline with a graphical and command-line interface. It offers a wide range of features for reconstruction of ordered and unordered image collections.
There are three methods to install colmap 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 colmap Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install colmap using apt-get by running the following command:
sudo apt-get -y install colmapInstall colmap Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install colmap using apt by running the following command:
sudo apt -y install colmapInstall colmap 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 updateAfter updating apt database, We can install colmap using aptitude by running the following command:
sudo aptitude -y install colmapHow To Uninstall colmap on Kali Linux
To uninstall only the colmap package we can use the following command:
sudo apt-get remove colmapUninstall colmap And Its Dependencies
To uninstall colmap and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove colmapRemove colmap Configurations and Data
To remove colmap configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge colmapRemove colmap configuration, data, and all of its dependencies
We can use the following command to remove colmap configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge colmapDependencies
colmap have the following dependencies:
- libc6
- libceres1
- libfreeimage3
- libgcc-s1
- libgl1
- libglew2.1
- libgomp1
- libgoogle-glog0v5
- libqt5core5a
- libqt5gui5
- libqt5gui5
- libqt5widgets5
- libstdc++6
References
Summary
In this tutorial we learn how to install colmap package on Kali Linux using different package management tools: apt, apt-get and aptitude.