How To Install libsight-dev on Debian 11
Introduction
In this tutorial we learn how to install libsight-dev on Debian 11.
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 Debian 11. 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 update
After updating apt database, We can install libsight-dev using apt-get by running the following command:
sudo apt-get -y install libsight-dev
Install libsight-dev Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libsight-dev using apt by running the following command:
sudo apt -y install libsight-dev
Install libsight-dev Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install libsight-dev using aptitude by running the following command:
sudo aptitude -y install libsight-dev
How To Uninstall libsight-dev on Debian 11
To uninstall only the libsight-dev package we can use the following command:
sudo apt-get remove libsight-dev
Uninstall libsight-dev And Its Dependencies
To uninstall libsight-dev and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libsight-dev
Remove libsight-dev Configurations and Data
To remove libsight-dev configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libsight-dev
Remove 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-dev
Dependencies
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 Debian 11 using different package management tools: apt, apt-get and aptitude.