OpenCPN Chart Plotter on
Raspberry Pi

OpenCPN is a free map and navigation program for boats. It can be used both along the way and as a planning tool. This article will describe in detail the installation of OpenCPN, and the installation of Norwegian maps on Raspberry Pi 4, as well as installation in boat.
 
OpenCPN can be installed on most operating systems, such as Windows, Linux, Mac OS X.
 
Use of hardware such as Raspberry Pi and Orange Pi is directly supported.
First of all, you need to install Raspberry Pi OS on a memory card. Raspberry Pi OS is the operating system for Raspberry Pi, and we will use it to run OpenCPN.
 
 

When Rapsberry Pi OS is installed on the memory card and booted up, the operating system must be configured. 

The BT-708 USB GPS Receiver works directly for OpenCPN and Raspberry Pi.
 
BT-708 USB GPS Receiver can be purchased on e-bay, among other places.
 
This GPS module has now worked well for one year inside the boat, just inside the starboard window.
 
The BT-708 works without any configuration on the Raspberry Pi OS, just plug it in.
  • For installation of OpenCPN you can follow the instructions here:

OpenCPN.org Raspberry Pi installasjon

 

Here is an exact procedure how I installed:
 
Start the terminal program LXTerminal
  • write: (This is the file that tells Raspberry Pi OS where it is allowed to download programs)
sudo nano /etc/apt/sources.list
  • add the line:
deb http://ppa.launchpad.net/opencpn/opencpn/ubuntu/ bionic main
  • Press Ctrl-X and select Y to save.
    Write: (We need to install certificate for opencpn sources, to be able to use these)
  •  
sudo apt install dirmngr
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C865EB40

 

  • Update after adding a source file and the certificate in sources.list
sudo apt-get update
  • Then it is ready to install OpenCPN
sudo apt-get install opencpn

 

 

So to start OpenCPN you have to press the raspberry, and select  OpenCPN.
 
Then you have to accept that OpenCPN should only be used with approved paper maps and traditional navigation methods.
 

Press the gear to enter the configuration menu.