Cruisers Forum

Join CruisersForum Today

Thread Tools Rate Thread Display Modes
Old 26-10-2012, 11:25   #1
Registered User

Join Date: Oct 2005
Posts: 120
How to Install OpenCPN on Ubuntu


My last XP laptop died and I now have a new W7 one. OpenCPN on Windows 7 is incompatible with my GPS.
Following someone's advice, I have set up my laptop to dual boot ubuntu, specifically to run OpenCPN reliably.
So, now, I have a brand new Ubuntu 12.10 installation, and I went to read the official instructions to install OpenCPN: I do not understand them!!! It seems to be a rather common problem with ubuntu, that the language used to give instructions sounds just like some barbarian language.
I can use the software center and the synaptics package manager, I am even willing to go as far as open the terminal and copy/paste commands, but PLEASE, if I can't get opencpn from the "software center" or through synaptics package manager, provide the needed commands in the right order.

I tried, but the following gibberish from the installation manual is beyond me:
Install libwxgtk2.8-0 that is compiled with support for sdl - Simple DirectMedia Layer. Such versions are available from Index of /. OpenCPN 3.0.x requires a minimum version of 2.8.12, for all features to work as expected.
Download the correct package for your version of Debian or Ubuntu and

$sudo dpkg -i ibwxgtk2.8XXXXXX (the proper name of the downloaded version)

or, follow these instructions:, to add as a source for packages.

Thank you

claire is offline   Reply With Quote
Old 27-10-2012, 03:05   #2
Registered User

Join Date: Oct 2005
Posts: 120
Re: how to install OpenCPN on ubuntu

I found my answer in posts # 4 and 5 of this thread:

Help with OpenCPN sound

Then, used post #1 of this thread to connect GPS:

OpenCPN GPS/AIS fix for Linux Mint 13 or Ubuntu 12.04

I had to do a little work with this command "dmesg" to identify the correct serial port: in my case, I found this sentence in the middle of a very long response: "usb1-1.4 attached to ttyUSB0"

Still, I have to open OpenCPN by typing "opencpn" each time in a terminal window, and leave the terminal open for the duration. I get the following response:

user@ubuntu:~$ opencpn

(opencpn:2038): Gdk-CRITICAL **: IA__gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed

If anybody can give me a fix to that, it would be appreciated.

In the mean tine, thanks a lot to Stephenippolito !!!!!

claire is offline   Reply With Quote
Old 27-10-2012, 16:25   #3
Registered User
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,368
Re: how to install OpenCPN on ubuntu

I've been told hereabouts, somewheres,... that that nasty message is not a problem...
Opencpn on Linux

and more ...

(...there are way too many suppositories made for the penguin, aren't there?)
HappySeagull is offline   Reply With Quote
Old 01-11-2012, 00:26   #4
Registered User

Join Date: Oct 2005
Posts: 120
Re: how to install OpenCPN on ubuntu

easier way to find where the GPS is connected

enter the command:

dmesg | grep tty

It will list all your serial ports in use.
claire is offline   Reply With Quote


Thread Tools
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
OpenCPN Version 2.6 Beta Build 1718 bdbcat OpenCPN 114 25-05-2012 07:28
Open CPN and Google Earth bgrimwade OpenCPN 19 09-12-2011 15:32
OpenCPN Version 2.5 Release bdbcat OpenCPN 86 02-09-2011 18:14
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31

Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities

Copyright 2002-2015 Social Knowledge, LLC All Rights Reserved.

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

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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.