Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 18-10-2024, 09:15   #16
Registered User

Join Date: Apr 2018
Location: Seabrook Texas
Boat: Californian 48 CPMY
Posts: 14
Re: Raspberry Pi 4 Installation of OpenCPN

It's been awhile(5 years?) since I have installed OpenCPN on RasPi 4 but here are my notes from when I did it last

sudo nano /etc/apt/sources.list
add to the end of that list
deb Index of /opencpn/opencpn/ubuntu bionic main

sudo apt install dirmngr

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C865EB40

sudo apt-get update
sudo apt-get install opencpn
sudo apt-get install opencpn
jabrockert is offline   Reply With Quote
Old 18-10-2024, 10:43   #17
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,169
Re: Raspberry Pi 4 Installation of OpenCPN

Important is also to enlarge the partition on the SD or USB stick.

De images come on a very narrow partition.

Enlarge the ext4 partition with gparted. Do you use the 64 bits version ?

I always us the flatpak OpenCPN version.

Bram
verkerkbr is offline   Reply With Quote
Old 18-10-2024, 11:56   #18
Registered User
 
kotovasii's Avatar

Join Date: Oct 2024
Location: Cambridge, UK
Posts: 9
Re: Raspberry Pi 4 Installation of OpenCPN

Quote:
Originally Posted by verkerkbr View Post
Important is also to enlarge the partition on the SD or USB stick.

De images come on a very narrow partition.

Enlarge the ext4 partition with gparted. Do you use the 64 bits version ?

I always us the flatpak OpenCPN version.

Bram
yes I use default version which is 64 bit. I am not sure how this this would affect repo missing -- in my case there is no failure to install, there is nothing to install.

pi@raspberrypi:/etc/apt $ sudo parted -l
Model: SD SR64G (sd/mmc)
Disk /dev/mmcblk0: 63.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 4194kB 541MB 537MB primary fat32 lba
2 541MB 63.9GB 63.3GB primary ext4
kotovasii is offline   Reply With Quote
Old 18-10-2024, 12:32   #19
Registered User
 
kotovasii's Avatar

Join Date: Oct 2024
Location: Cambridge, UK
Posts: 9
Re: Raspberry Pi 4 Installation of OpenCPN

Quote:
Originally Posted by jabrockert View Post
It's been awhile(5 years?) since I have installed OpenCPN on RasPi 4 but here are my notes from when I did it last

sudo nano /etc/apt/sources.list
add to the end of that list
deb Index of /opencpn/opencpn/ubuntu bionic main

sudo apt install dirmngr

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C865EB40

sudo apt-get update
sudo apt-get install opencpn
sudo apt-get install opencpn
Hi jabrockert,
the above worked!
for anyone trying to replicate please use this command line (jammy is the most recent version close enough to bookworm):

deb Index of /opencpn/opencpn/ubuntu jammy main

I think the PGP key process is now different, but I'll investigate this later... the above still works (with some warnings).
technically this command should get the server key but what I got did not work...

pi@raspberrypi:/etc/apt $ sudo apt-key adv --keyserver keyserver.ubuntu.com --search opencpn
kotovasii is offline   Reply With Quote
Old 18-10-2024, 13:10   #20
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,295
Re: Raspberry Pi 4 Installation of OpenCPN

Latest OpenCPN 5.10.2 is in the standard Debian repositories, namely bookworm-backports for Bookworm
https://packages.debian.org/search?s...ywords=opencpn

Read the instructions on how to enable it at https://backports.debian.org/Instructions/

Using the PPA from Ubuntu is wrong.
nohal is offline   Reply With Quote
Old 18-10-2024, 13:50   #21
Registered User
 
kotovasii's Avatar

Join Date: Oct 2024
Location: Cambridge, UK
Posts: 9
Re: Raspberry Pi 4 Installation of OpenCPN

Quote:
Originally Posted by nohal View Post
Latest OpenCPN 5.10.2 is in the standard Debian repositories, namely bookworm-backports for Bookworm
https://packages.debian.org/search?s...ywords=opencpn

Read the instructions on how to enable it at https://backports.debian.org/Instructions/

Using the PPA from Ubuntu is wrong.
thanks. I'll give it a try!

Is there anyway to update the actual OpenCPN manual? https://opencpn.org/wiki/dokuwiki/do...stallation:rpi
kotovasii is offline   Reply With Quote
Old 18-10-2024, 13:54   #22
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,295
Re: Raspberry Pi 4 Installation of OpenCPN

Update with what? That OpenCPN is in the Debian repos as well as that you should use OpenPlotter is both there.
nohal is offline   Reply With Quote
Old 18-10-2024, 14:04   #23
Registered User
 
kotovasii's Avatar

Join Date: Oct 2024
Location: Cambridge, UK
Posts: 9
Re: Raspberry Pi 4 Installation of OpenCPN

Quote:
Originally Posted by nohal View Post
Update with what? That OpenCPN is in the Debian repos as well as that you should use OpenPlotter is both there.
Why would I use OpenPlotter if I just want to install OpenCPN?!
Currently UG states for
Raspberry Pi:
Raspberry Pi OS is the official Operating System for Raspberry Pi derived from the Debian Linux distribution. For information on how to obtain and install the OS, refer to https://www.raspberrypi.com/software/ Then follow the instructions for Installing Debian.

For Debian:
Installing OpenCPN on systems derived from Debian 12 Bookworm
Update the APT database
sudo apt update
Install OpenCPN
sudo apt install opencpn


So this is not correct because on vanilla Raspbery Pi OS ( as of October 2024) one cannot install from Backports.
Your suggestion worked – thank you, but the instructions on OpecCPN should be updated as following:

sudo vim /etc/apt/sources.list
deb Index of /debian bookworm-backports main
sudo apt-get update
sudo apt-get install opencpn
kotovasii is offline   Reply With Quote
Old 18-10-2024, 14:06   #24
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,295
Re: Raspberry Pi 4 Installation of OpenCPN

Quote:
Originally Posted by kotovasii View Post
Why would I use OpenPlotter if I just want to install OpenCPN?!
Currently UG states for
Raspberry Pi:
Raspberry Pi OS is the official Operating System for Raspberry Pi derived from the Debian Linux distribution. For information on how to obtain and install the OS, refer to https://www.raspberrypi.com/software/ Then follow the instructions for Installing Debian.

For Debian:
Installing OpenCPN on systems derived from Debian 12 Bookworm
Update the APT database
sudo apt update
Install OpenCPN
sudo apt install opencpn


So this is not correct because on vanilla Raspbery Pi OS ( as of October 2024) one cannot install from Backports.
Your suggestion worked – thank you, but the instructions on OpecCPN should be updated as following:

sudo vim /etc/apt/sources.list
deb Index of /debian bookworm-backports main
sudo apt-get update
sudo apt-get install opencpn
Debian installation instructions were updated to explicitly mention that latest OpenCPN may be in Backports.
nohal is offline   Reply With Quote
Old 18-10-2024, 14:14   #25
Registered User
 
kotovasii's Avatar

Join Date: Oct 2024
Location: Cambridge, UK
Posts: 9
Re: Raspberry Pi 4 Installation of OpenCPN

Quote:
Originally Posted by nohal View Post
Debian installation instructions were updated to explicitly mention that latest OpenCPN may be in Backports.
OK, thank you! Much appreciate this.
kotovasii is offline   Reply With Quote
Old 22-10-2024, 04:37   #26
Registered User

Join Date: Jul 2015
Location: Barcelona, Catalonia.
Posts: 319
Re: Raspberry Pi 4 Installation of OpenCPN

Quote:
Originally Posted by kotovasii View Post
Why would I use OpenPlotter if I just want to install OpenCPN?!

For the record.

You can install openplotter-settings on any Debian system and from there install only the openplotter-opencpn-installer application. Only the OpenCPN stuff will be installed and you will be able to install/uninstall OpenCPN from all available sources with a single click until you find the right one for your system (Debian, Debian-backport, Ubuntu PPA, Flatpak).

https://openplotter.readthedocs.io/4...top-and-laptop
__________________
OpenPlotter Project
https://openmarine.net/openplotter
Sailoog is offline   Reply With Quote
Old 22-10-2024, 05:14   #27
Registered User

Join Date: Sep 2023
Location: Cruising
Posts: 570
Re: Raspberry Pi 4 Installation of OpenCPN

Quote:
Originally Posted by kotovasii View Post
Why would I use OpenPlotter if I just want to install OpenCPN?!
Because it works out of the box , ignoring the time taken to download & burn the card it takes 5 minutes (timed it! ) with a laptop for make a working system on a Pi4 or 5. (Pi3 works but little bit sluggish with opencpn) Very well tested on a large variety of setups with an active community keeping everything working & stable.
barcoMeCasa is offline   Reply With Quote
Old 22-10-2024, 06:04   #28
Registered User
 
kotovasii's Avatar

Join Date: Oct 2024
Location: Cambridge, UK
Posts: 9
Re: Raspberry Pi 4 Installation of OpenCPN

Quote:
Originally Posted by barcoMeCasa View Post
Because it works out of the box , ignoring the time taken to download & burn the card it takes 5 minutes (timed it! ) with a laptop for make a working system on a Pi4 or 5. (Pi3 works but little bit sluggish with opencpn) Very well tested on a large variety of setups with an active community keeping everything working & stable.
Thanks barcoMeCasa,
I actually managed to instal it following the above discussion. It is rather simple once we enable Backport repos in lates Raspberry Pi OS.
Effectively do:
sudo vim /etc/apt/sources.list
#add this line at the end of file:
deb Index of /debian bookworm-backports main
and then proceed as per user guide for normal software install:
sudo apt-get update
sudo apt-get install opencpn


I’ll definitely try OpenPlotter as well at some point, but for now I want to make sure I am familiar with OpenCPN and it works as expected and most importantly a suitable substitute for commercial software. I am likely to run a laptop with Ubuntu and add OpenCPN to it just as a tool, not using RP as an actual onboard PC.
kotovasii is offline   Reply With Quote
Old 08-12-2024, 20:53   #29
Registered User
 
wefleenor's Avatar

Join Date: Nov 2010
Location: Pittsburg, CA
Boat: 49ft custom power catamaran
Posts: 140
Re: Raspberry Pi 4 Installation of OpenCPN

I downloaded the Openplotter image and burned it onto both an SD card and SSD drive. Neither actually contained OpenCPN or SignalK. The OS seemed fine so I installed OpenCPN and downloaded O-Charts before I tried the Connections. Connections do not seem to funtion. Previous connection to my gps now flash on and off speratically and cannot be shared. Anybody run into this issue? Thanks.
wefleenor is offline   Reply With Quote
Old 09-12-2024, 02:05   #30
Registered User

Join Date: Sep 2023
Location: Cruising
Posts: 570
Re: Raspberry Pi 4 Installation of OpenCPN

Quote:
Originally Posted by wefleenor View Post
I downloaded the Openplotter image and burned it onto both an SD card and SSD drive. Neither actually contained OpenCPN or SignalK. The OS seemed fine so I installed OpenCPN and downloaded O-Charts before I tried the Connections. Connections do not seem to funtion. Previous connection to my gps now flash on and off speratically and cannot be shared. Anybody run into this issue? Thanks.
Some more info would be useful - did you follow the latest version instructions?
https://openplotter.readthedocs.io/latest/
Do that and opencpn v5.8 is pre installed & signalk should be there first time you turn on.

Then use the openplotter serial app to set up data inputs.
barcoMeCasa is offline   Reply With Quote
Reply

Tags
enc, installation, opencpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is OpenCPN Installation: Raspberry Pi link down? jimseng OpenCPN 6 26-05-2024 01:28
Raspberry (Buster) OpenCPN installation issue brice3010 OpenCPN 15 18-06-2023 00:26
Raspberry Pi and OpenCPN 3.1.915 spillemw OpenCPN 20 24-09-2012 03:30
Raspberry PI compiles OpenCPN monstads OpenCPN 7 15-03-2012 13:41
The Perfect Platform for OpenCPN ? Raspberry Pi night0wl OpenCPN 10 08-09-2011 20:09

Advertise Here


All times are GMT -7. The time now is 14:56.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2025, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.