How To Install gr-air-modes on Ubuntu 18.04

In this tutorial we learn how to install gr-air-modes on Ubuntu 18.04. gr-air-modes is Gnuradio Mode-S/ADS-B radio

Introduction

In this tutorial we learn how to install gr-air-modes on Ubuntu 18.04.

What is gr-air-modes

gr-air-modes is:

A software-defined radio receiver for Mode S transponder signals, including ADS-B reports from equipped aircraft.

The main application is modes_rx.

Multiple output formats are supported:

  • Raw (or minimally processed) output of packet data
  • Parsed text
  • SQLite database
  • KML for use with Google Earth
  • SBS-1-compatible output for use with e.g. PlanePlotter or Virtual Radar Server
  • FlightGear multiplayer interface for real-time display of traffic within the simulator

There are three methods to install gr-air-modes 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 gr-air-modes Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gr-air-modes

Install gr-air-modes Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gr-air-modes using apt by running the following command:

sudo apt -y install gr-air-modes

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

sudo aptitude -y install gr-air-modes

How To Uninstall gr-air-modes on Ubuntu 18.04

To uninstall only the gr-air-modes package we can use the following command:

sudo apt-get remove gr-air-modes

Uninstall gr-air-modes And Its Dependencies

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

sudo apt-get -y autoremove gr-air-modes

Remove gr-air-modes Configurations and Data

To remove gr-air-modes configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge gr-air-modes

Remove gr-air-modes configuration, data, and all of its dependencies

We can use the following command to remove gr-air-modes configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gr-air-modes

References

Summary

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