How To Install ion on Ubuntu 22.04

In this tutorial we learn how to install ion on Ubuntu 22.04. ion is NASA implementation of Delay-Tolerant Networking (DTN)

Introduction

In this tutorial we learn how to install ion on Ubuntu 22.04.

What is ion

ion is:

Interplanetary Overlay Network (ION) software distribution is an implementation of Delay-Tolerant Networking (DTN) architecture as described in Internet RFC 4838.

This is a suite of communication protocol implementations designed to support mission operation communications across an end-to-end interplanetary network, which might include on-board (flight) subnets, in-situ planetary or lunar networks, proximity links, deep space links, and terrestrial internets.

Included in the ION software distribution are the following packages:

  • ici (interplanetary communication infrastructure) a set of libraries that provide flight-software-compatible support for functions on which the other packages rely
  • bp (bundle protocol), an implementation of the Delay-Tolerant Networking (DTN) architecture’s Bundle Protocol.
  • dgr (datagram retransmission), a UDP reliability system that implements congestion control and is designed for relatively high performance.
  • ltp (licklider transmission protocol), a DTN convergence layer for reliable transmission over links characterized by long or highly variable delay.
  • ams - an implementation of the CCSDS Asynchronous Message Service.
  • cfdp - a class-1 (Unacknowledged) implementation of the CCSDS File Delivery Protocol. . This package contains the binary files.

There are three methods to install ion on Ubuntu 22.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 ion Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ion

Install ion Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ion using apt by running the following command:

sudo apt -y install ion

Install ion 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 ion using aptitude by running the following command:

sudo aptitude -y install ion

How To Uninstall ion on Ubuntu 22.04

To uninstall only the ion package we can use the following command:

sudo apt-get remove ion

Uninstall ion And Its Dependencies

To uninstall ion and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove ion

Remove ion Configurations and Data

To remove ion configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge ion

Remove ion configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ion

References

Summary

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