How To Install libopenigtlink-dev on Ubuntu 18.04

In this tutorial we learn how to install libopenigtlink-dev on Ubuntu 18.04. libopenigtlink-dev is Open IGT Link is a simple network protocol - development

Introduction

In this tutorial we learn how to install libopenigtlink-dev on Ubuntu 18.04.

libopenigtlink-dev is:

Open IGT Link is a simple network protocol intended for trackers, robots and other devices to send data to the main application. Some devices might also accept commands.

For example applications may include:

  • Stereotactic surgical guidance using optical position sensor and medical image visualization software.
  • Intraoperative image guidance using real-time MRI and medical image visualization software
  • Robot-assisted intervention using robotic device and surgical planning software

This package contains the development files needed to build your own IGT applications.

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

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

sudo apt-get update

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

sudo apt-get -y install libopenigtlink-dev

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libopenigtlink-dev

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

sudo aptitude update

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

sudo aptitude -y install libopenigtlink-dev

To uninstall only the libopenigtlink-dev package we can use the following command:

sudo apt-get remove libopenigtlink-dev

To uninstall libopenigtlink-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libopenigtlink-dev

To remove libopenigtlink-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libopenigtlink-dev

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

sudo apt-get -y autoremove --purge libopenigtlink-dev

References

Summary

In this tutorial we learn how to install libopenigtlink-dev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.