How To Install libsight-dev on Kali Linux
Introduction
In this tutorial we learn how to install libsight-dev on Kali Linux.
What is libsight-dev
libsight-dev is:
The Surgical Image Guidance and Healthcare Toolkit aims to ease the creation of applications based on medical imaging. It includes various features such as 2D and 3D digital image processing, visualization, augmented reality and medical interaction simulation. It runs on many different environments (Windows, Linux, macOS), is written in C++, and features rapid interface design using XML files.
Sight was formerly known as FW4SPL. It was renamed in 2018, firstly to make its purpose clearer, and secondly as part of a major change in design and in the governance of the development team.
This package contains the development files.
There are three methods to install libsight-dev 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 libsight-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libsight-dev using apt-get by running the following command:
sudo apt-get -y install libsight-devInstall libsight-dev Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libsight-dev using apt by running the following command:
sudo apt -y install libsight-devInstall libsight-dev 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 libsight-dev using aptitude by running the following command:
sudo aptitude -y install libsight-devHow To Uninstall libsight-dev on Kali Linux
To uninstall only the libsight-dev package we can use the following command:
sudo apt-get remove libsight-devUninstall libsight-dev And Its Dependencies
To uninstall libsight-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libsight-devRemove libsight-dev Configurations and Data
To remove libsight-dev configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libsight-devRemove libsight-dev configuration, data, and all of its dependencies
We can use the following command to remove libsight-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libsight-devDependencies
libsight-dev have the following dependencies:
- libsight
- libboost-all-dev
- zlib1g-dev
- libexpat1-dev
- libpng-dev
- libtiff5-dev
- libcppunit-dev
- libhdf5-dev
- libqt5opengl5-dev
- libqt5x11extras5-dev
- qttools5-dev
- libvtk7-dev
- libgdcm-dev
- libinsighttoolkit4-dev
- libann-dev
- libvtkgdcm-dev
- libvtk7-qt-dev
- libcamp-dev
- libglm-dev
References
Summary
In this tutorial we learn how to install libsight-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.