How To Install opencpn-data on Ubuntu 20.04

In this tutorial we learn how to install opencpn-data on Ubuntu 20.04. opencpn-data is Open Source Chartplotter and Marine GPS Navigation Software (data)

Introduction

In this tutorial we learn how to install opencpn-data on Ubuntu 20.04.

What is opencpn-data

opencpn-data is:

Chart Plotter and Navigational software program for use underway or as a planning tool. Developed by a team of active sailors using real world conditions for program testing and refinement. By default supports raster and vector formats like BSB and S63. Support for many other formats are available in plugins. Other plugins provides support for e. g., AIS, radar and weather maps. Application has language support in 20+ languages.

This package contains architecture independent data files.

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

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

sudo apt-get update

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

sudo apt-get -y install opencpn-data

Install opencpn-data Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install opencpn-data

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

sudo aptitude -y install opencpn-data

How To Uninstall opencpn-data on Ubuntu 20.04

To uninstall only the opencpn-data package we can use the following command:

sudo apt-get remove opencpn-data

Uninstall opencpn-data And Its Dependencies

To uninstall opencpn-data and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove opencpn-data

Remove opencpn-data Configurations and Data

To remove opencpn-data configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge opencpn-data

Remove opencpn-data configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge opencpn-data

References

Summary

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