How To Install libsight on Kali Linux
Introduction
In this tutorial we learn how to install libsight on Kali Linux.
What is libsight
libsight 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 provides the shared libraries needed to run C++ programs that use Sight.
There are three methods to install libsight 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 Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libsight using apt-get by running the following command:
sudo apt-get -y install libsightInstall libsight Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libsight using apt by running the following command:
sudo apt -y install libsightInstall libsight 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 using aptitude by running the following command:
sudo aptitude -y install libsightHow To Uninstall libsight on Kali Linux
To uninstall only the libsight package we can use the following command:
sudo apt-get remove libsightUninstall libsight And Its Dependencies
To uninstall libsight and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libsightRemove libsight Configurations and Data
To remove libsight configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libsightRemove libsight configuration, data, and all of its dependencies
We can use the following command to remove libsight configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libsightDependencies
libsight have the following dependencies:
- libboost-iostreams1.74.0
- libboost-locale1.74.0
- libboost-log1.74.0
- libboost-program-options1.74.0
- libboost-thread1.74.0
- libc6
- libcamp0.8
- libdcmtk15
- libgcc-s1
- libgdcm3.0
- libinsighttoolkit4.13
- libqt5core5a
- libqt5gui5
- libqt5help5
- libqt5network5
- libqt5qml5
- libqt5quickwidgets5
- libqt5widgets5
- libssl1.1
- libstdc++6
- libvtk7.1p
- libvtk7.1p-qt
- libvtkgdcm3.0
- libxml2
- zlib1g
References
Summary
In this tutorial we learn how to install libsight package on Kali Linux using different package management tools: apt, apt-get and aptitude.