opencpn command not found

In this troubleshooting guide we learn how to fix opencpn command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

opencpn: command not found

or when using sudo you get the following error message

sudo: opencpn: command not found

Solutions to opencpn: command not found

How To Fix opencpn: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu opencpn is provided by opencpn package.

opencpn 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 programs, libraries and some support files.

To fix this problem, we can install more using the command below.

sudo apt-get -y install opencpn

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install opencpn.

sudo apt -y install opencpn

Or if you have aptitude installed you can use the following command.

sudo aptitude install opencpn

Summary

In this tutorial we learn how to fix opencpn command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.