 |
|
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
|
|
|
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
|
|
|
18-10-2024, 11:56
|
#18
|
Registered User
Join Date: Oct 2024
Location: Cambridge, UK
Posts: 9
|
Re: Raspberry Pi 4 Installation of OpenCPN
Quote:
Originally Posted by verkerkbr
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
|
|
|
18-10-2024, 12:32
|
#19
|
Registered User
Join Date: Oct 2024
Location: Cambridge, UK
Posts: 9
|
Re: Raspberry Pi 4 Installation of OpenCPN
Quote:
Originally Posted by jabrockert
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
|
|
|
18-10-2024, 13:50
|
#21
|
Registered User
Join Date: Oct 2024
Location: Cambridge, UK
Posts: 9
|
Re: Raspberry Pi 4 Installation of OpenCPN
Quote:
Originally Posted by nohal
|
thanks. I'll give it a try!
Is there anyway to update the actual OpenCPN manual? https://opencpn.org/wiki/dokuwiki/do...stallation:rpi
|
|
|
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.
|
|
|
18-10-2024, 14:04
|
#23
|
Registered User
Join Date: Oct 2024
Location: Cambridge, UK
Posts: 9
|
Re: Raspberry Pi 4 Installation of OpenCPN
Quote:
Originally Posted by nohal
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
|
|
|
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
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.
|
|
|
18-10-2024, 14:14
|
#25
|
Registered User
Join Date: Oct 2024
Location: Cambridge, UK
Posts: 9
|
Re: Raspberry Pi 4 Installation of OpenCPN
Quote:
Originally Posted by nohal
Debian installation instructions were updated to explicitly mention that latest OpenCPN may be in Backports.
|
OK, thank you! Much appreciate this.
|
|
|
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
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
|
|
|
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
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.
|
|
|
22-10-2024, 06:04
|
#28
|
Registered User
Join Date: Oct 2024
Location: Cambridge, UK
Posts: 9
|
Re: Raspberry Pi 4 Installation of OpenCPN
Quote:
Originally Posted by barcoMeCasa
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.
|
|
|
08-12-2024, 20:53
|
#29
|
Registered User
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.
|
|
|
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
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.
|
|
|
 |
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|