How To Install camitk-actionstatemachine on Ubuntu 18.04

In this tutorial we learn how to install camitk-actionstatemachine on Ubuntu 18.04. camitk-actionstatemachine is pipeline replay application for the CamiTK library

Introduction

In this tutorial we learn how to install camitk-actionstatemachine on Ubuntu 18.04.

What is camitk-actionstatemachine

camitk-actionstatemachine is:

CamiTK helps researchers and clinicians to easily and rapidly collaborate in order to prototype CAMI applications, that feature medical images, surgical navigation and biomechanical simulations.

camitk-actionstatemachine is able to replay a pipeline (workflow) of CamiTK actions. This application takes an CamiTK augmented version of a SCXML subset as input and allow on to replay interactive the described state-machine containing a list of CamiTK actions and transitions.

There are three methods to install camitk-actionstatemachine 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.

Install camitk-actionstatemachine Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install camitk-actionstatemachine

Install camitk-actionstatemachine Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install camitk-actionstatemachine

Install camitk-actionstatemachine 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install camitk-actionstatemachine

How To Uninstall camitk-actionstatemachine on Ubuntu 18.04

To uninstall only the camitk-actionstatemachine package we can use the following command:

sudo apt-get remove camitk-actionstatemachine

Uninstall camitk-actionstatemachine And Its Dependencies

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

sudo apt-get -y autoremove camitk-actionstatemachine

Remove camitk-actionstatemachine Configurations and Data

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

sudo apt-get -y purge camitk-actionstatemachine

Remove camitk-actionstatemachine configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge camitk-actionstatemachine

References

Summary

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