Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 04-07-2019, 12:03   #61
Registered User
 
BluegillBoy's Avatar

Join Date: Mar 2010
Location: Chicago summers, gulf during winters
Boat: Endeavour TrawlerCat 36 - My Bluegill Heaven
Posts: 175
Re: OS Linux specific

finally got it. but something screwy is going on.

saw 5.0 on the launchpad list of course. but apt-get update still wouldn't see it and gave me HIT. and Software Updater also doesn't see an update to 4.99.

so i installed manually - apt-get install opencpn

that installed 5.0.

the problem was that originally i used Ubuntu Software to install (easier than doing it through the terminal) but for some reason it will only install 4.99 and won't pull 5.0 even from the production PPA. yup, i double checked and i had used PPA opencpn/opencpn. here's what it says about O:
Channel edge
Version 4.8+git
License Proprietary
Developer Mohamed Saad IBN SEDDIK
source Snap Store
Installed Size 121.5 MB

i've got no idea how it can do that, since 4.99 isn't even on the list on launchpad.

but it's reproducible. twice it installed 4.99 from opencpn/opencpn, most recently this morning. and then doesn't see 5.0 as an upgrade.

good news is i'm up and running with 5.0.

but really curious as to why/how Ubuntu Software grabs 4.99 and if anyone else has had the same problem. any insight? my mind needs to understand.

anyway, thanks for all your help!! O is GREAT! i've used it as my main chartplotter for 12 years and 19,000 miles under my keel now.
__________________

BluegillBoy is offline   Reply With Quote
Old 04-07-2019, 12:37   #62
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,766
Re: OS Linux specific

Quote:
Originally Posted by BluegillBoy View Post
finally got it. but something screwy is going on.

saw 5.0 on the launchpad list of course. but apt-get update still wouldn't see it and gave me HIT. and Software Updater also doesn't see an update to 4.99.

so i installed manually - apt-get install opencpn

that installed 5.0.

the problem was that originally i used Ubuntu Software to install (easier than doing it through the terminal) but for some reason it will only install 4.99 and won't pull 5.0 even from the production PPA. yup, i double checked and i had used PPA opencpn/opencpn. here's what it says about O:
Channel edge
Version 4.8+git
License Proprietary
Developer Mohamed Saad IBN SEDDIK
source Snap Store
Installed Size 121.5 MB


i've got no idea how it can do that, since 4.99 isn't even on the list on launchpad.

but it's reproducible. twice it installed 4.99 from opencpn/opencpn, most recently this morning. and then doesn't see 5.0 as an upgrade.

good news is i'm up and running with 5.0.

but really curious as to why/how Ubuntu Software grabs 4.99 and if anyone else has had the same problem. any insight? my mind needs to understand.

anyway, thanks for all your help!! O is GREAT! i've used it as my main chartplotter for 12 years and 19,000 miles under my keel now.

You have to check your sources for OpenCPN!

The 4.99 comes through "Snap Store". The latest update for Snap Store is from 190310, which is before the release of 5.0.0.

How did you end up installing a snap package that has nothing to do with launchpad?

Whatever you do with "apt-get" does not affect your installed snap package.
Try to get rid of it by reading up on snap packages.



Thomas
__________________

cagney is offline   Reply With Quote
Old 04-07-2019, 13:26   #63
Registered User
 
BluegillBoy's Avatar

Join Date: Mar 2010
Location: Chicago summers, gulf during winters
Boat: Endeavour TrawlerCat 36 - My Bluegill Heaven
Posts: 175
Re: OS Linux specific

Thanks Thomas! now i understand what happened.

i had entered the correct PPA into Ubuntu Software and Updater, taking the easy route rather than installing through terminal.

it never occurred to me that it would find more than one OpenCPN or that it wouldn't be from the official site, so i never checked the package description before installing. just assumed...

taught me a good lesson, and to be careful about what i install.

i was able to remove the wrong package using Ubuntu Software.

again, thanks for your help. you guys are the best. (and so is OCPN!)
BluegillBoy is offline   Reply With Quote
Old 08-07-2019, 09:26   #64
Registered User

Join Date: Jun 2012
Location: Stockholm, Sweden
Boat: William Lindbergs Warf, Stockholm, Sweden, 1868 Lumber Yacht, 50 feet
Posts: 9
Can't get OpenCPN 5 to remember settings in Ubuntu 18 LTS

Hi,

Running Ubuntu 18 LTS.

Have tried two different ways of installing OpenCPN:

1. from prompt, >sudo apt-get install opencpn
2. using ubuntu's software downloader GUI.

In the 1st case I get OpenCPN 5.0 which I can't get to remember _any_ settings, not even connection to the usb gps. Much less any other GUI and chart settings.

Turned around and tried ubuntu's software downloader GUI. Works excellent and OCPN remembers what it should, but the version I get is 4.99, for the same resons as BluegillBoy.

I am just about to buy oeSENC charts for my installation and it says in the instructions that I should have the latest version of both OCPN and the oeSENC plug.

Ending up somewhat lost here... Is 5.0 official and in that case why isn't it showing up in Ubuntu?

Best Regards
Markus
Mackan is offline   Reply With Quote
Old 08-07-2019, 10:11   #65
Registered User
 
BluegillBoy's Avatar

Join Date: Mar 2010
Location: Chicago summers, gulf during winters
Boat: Endeavour TrawlerCat 36 - My Bluegill Heaven
Posts: 175
Re: OS Linux specific

Not sure why 5.0 won't remember settings for you. Works perfectly for me. Perhaps someone else can help you troubleshoot that.

But don't rely on 4.99. That package is incomplete, missing features and does screwy things in your directory structure.

Did you completely remove 4.99? Ubuntu software will remove the app, but you may have to manually remove the folders it set up. Then try a clean install of 5.0.
BluegillBoy is offline   Reply With Quote
Old 09-07-2019, 04:48   #66
Registered User

Join Date: Jun 2012
Location: Stockholm, Sweden
Boat: William Lindbergs Warf, Stockholm, Sweden, 1868 Lumber Yacht, 50 feet
Posts: 9
Re: OS Linux specific

Quote:
Originally Posted by BluegillBoy View Post
Not sure why 5.0 won't remember settings for you...



But don't rely on 4.99...

Thanks for your quick reply BluegillBoy.

I removed 4.99 and did a new command line install ending up with 5.0 again.

Turns out that when I started OCPN with
> sudo opencpn
it worked just fine.

Satisfied and up and running now!
Bringing the Ubuntu-box and the gismos and gadgets to the boat today.

Thanks everybody for great work and great support!
Mackan is offline   Reply With Quote
Old 09-07-2019, 12:05   #67
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,766
Re: OS Linux specific

Quote:
Originally Posted by Mackan View Post
Thanks for your quick reply BluegillBoy.

I removed 4.99 and did a new command line install ending up with 5.0 again.

Turns out that when I started OCPN with
> sudo opencpn
it worked just fine.

Satisfied and up and running now!
Bringing the Ubuntu-box and the gismos and gadgets to the boat today.

Thanks everybody for great work and great support!
Mackan

Please don't run OpenCPN, or any other program, as root, unless the program asks for it.
All kind of horrible things may happen.....
O should start just fine with
Code:
$opencpn
Thomas
cagney is offline   Reply With Quote
Old 04-03-2020, 12:12   #68
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 14,161
Where to execute git clone from?

As a new Ubuntu 18.04 user I would like to know where the best and most standard & typical path / folder to execute git clone opencpn from?

Looking at Git instructions
https://git-scm.com/book/en/v2/Git-B...Git-Repository
They say for Linux: $ cd /home/user/my_project
Which does not exist.

The Wiki Linux Install doesn't say much
Nor does the Dev Wiki for linux
https://opencpn.org/wiki/dokuwiki/do...ad_source_code

What folder/directory should we execute git clone from?
Should I make a "GitHub" directory? If so where?

Currently I have executed git clone from the HOME directory, so OpenCPN folder is Home > OpenCPN. How do I remove this? and start over properly?
rgleason is offline   Reply With Quote
Old 04-03-2020, 12:48   #69
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 14,161
Re: OS Linux specific

What folder/directory should we execute git clone from?
Should I make a "GitHub" directory? If so where?

I see one entry way down below using the folder usr/share:
Quote:
/usr/share/opencpn/

I assume this is the same as using the "Files" Program
Quote:
Other Locations > Computer > Usr > Share
where I find gem, gnome, image-majic etc.

Currently I have executed git clone from the HOME directory, so OpenCPN folder is Home > OpenCPN. How do I remove this? and start over properly?
rgleason is offline   Reply With Quote
Old 04-03-2020, 12:52   #70
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 14,161
Re: OS Linux specific

Also found this https://askubuntu.com/questions/1506...re-an-existing


Some additional reading yields that there are different directories that should be used for different sources of the software.


Quote:
/usr/local where you install your own software to not conflict with software installed by system and you distributions (like Ubuntu) packages. To install you own software under / or /usr is to ask for problems, problems which probably only sollution is to install the system from scratch again...

So should I be using usr/local (without the period) ?
rgleason is offline   Reply With Quote
Old 04-03-2020, 13:27   #71
Registered User

Join Date: Aug 2016
Posts: 111
Re: OS Linux specific

rick


before you dig deeper, please read fundamentals
https://en.wikipedia.org/wiki/Filesy...archy_Standard
BlackSea is offline   Reply With Quote
Old 04-03-2020, 14:00   #72
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 14,161
Re: OS Linux specific

Thanks, wikipedia has
-------
/home Users' home directories, containing saved files, personal settings, etc.
-------
/bin Essential command binaries that need to be available in single user mode; for all users, e.g., cat, ls, cp.
------
/lib Libraries essential for the binaries in /bin and /sbin.
-------
/opt Optional application software packages.
----
/usr Secondary hierarchy for read-only user data; contains the majority of (multi-)user utilities and applications.
-------
/usr/local Tertiary hierarchy for local data, specific to this host. Typically has further subdirectories, e.g., bin, lib, share.
------
/usr/share Architecture-independent (shared) data.
------
/usr/src Source code, e.g., the kernel source code with its header files.
-----
Please correct me but, it seems to me that
  • /home might be appropriate for a git cloned OpenCPN.
  • /bin and /lib will be used for binary and libraries for applications.
  • /opt and /usr are for pre packaged software applications.
  • /usr/local might be perfectly appropriate for a git cloned OpenCPN.
  • /usr/share is architecture independent (shared) data. I don't think that fits.
  • /usr/src is about the OS and not software development.
So I would pick /home or usr/local, probably usr/local is better.

What is the correct answer?
rgleason is offline   Reply With Quote
Old 04-03-2020, 14:26   #73
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 14,161
Re: OS Linux specific

Regarding Removal of the git cloned OpenCPN that is located at Home/OpenCPN
Used cmake ../ and make to build it. Then installed it with sudo make install.

https://askubuntu.com/questions/8376...d-via-terminal

https://www.fosslinux.com/14058/best...-on-ubuntu.htm
1. Ubuntu Software Center - Does not list or show OpenCPN

2. Synaptic Package Manager - Does not list or show OpenCPN

3. Command Line (apt-get, dpkg --list) dpkg --list does not list any OpenCPN

Do I just delete the whole installation somehow?
---

Now I see that Dev Linux Compile under Build it has
Quote:
Notes:
Default install dir is /usr/local, you can change this by providing the appropriate option to cmake: $ cmake -DCMAKE_INSTALL_PREFIX=/usr ../

So I should be seeing the install there!


Well I found opencpn here


Computer > usr > local > share > opencpn



and it looks like that is the data directories because the plugins folder below has standard plugin data directories.


I am not understanding all of this very well.
rgleason is offline   Reply With Quote
Old 04-03-2020, 15:45   #74
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 14,161
Re: OS Linux specific

Alec has an Ubuntu Example path diagram for Opencpn v5.0.522 (dev) + oesenc_pi
https://github.com/leamas/OpenCPN/wi...-ubuntu-layout

OpenCPN (git clone directory) Home > OpenCPN
This was cmake ../ and make and sudo make install to create this installation.

Looking for opencpn file locations
OpenCPN v5.0.522 executable Computer > usr > local > share > applications
Changelog & Copyright Computer > usr > local > share > doc > opencpn
Language files Computer > usr > local > share > locale
Opencpn Data Directory Computer > usr > local > share > opencpn
Opencpn Binary 113.1mb Computer > usr > local > bin
Plugin executables Computer > usr > local > lib > opencpn
no opencpn files Computer > usr > bin
oesencd Home >
empty no files Computer > usr > local > src

So it appears that the "Default install dir is /usr/local" is what I have.
and the Opencpn git directory is fine where it is located at Home > OpenCPN.


OpenCPN Data directory Home > .opencpn

which also has Configs, iconCache, oesenc_pi, oernc_pi, plugins, SENC chart files, opencpn.log opencpn.conf navobj.xml etc.

Charts are under Home > Charts > ENC and GSHHG for me.

oeaserverd Home > .local > bin
oeserverd Home > .local > bin
opencpn language Home > .local > share > locale
oernc_pi data dir Home > .local > share > opencpn > plugins >
oesenc_pi data dir same
testplugin_pi data dir same
weather_routing_pi data dir same
plugin_pi.so Home > .local > lib > opencpn > plugin_pi.so (all the plugins .so)

I haven't confirmed if this conforms to Alec's schema, but I think it may.
rgleason is offline   Reply With Quote
Old 04-03-2020, 17:37   #75
Registered User

Join Date: Jan 2018
Boat: Norseman 447cc
Posts: 179
opencpn-plugin-squiddio missing?

I recently had to rebuild my Linux laptop, Ubuntu 19.10, and I cannot seem to find the plugin opencpn-plugin-squiddio. I have the bionic ppa configured and it had worked for me the last time I installed it but when trying to do so today it no longer appears to be there. All of the other plugins show up fine when I do an apt search opencpn-plugin.
__________________

svspirited is offline   Reply With Quote
Reply

Tags
linux

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
Looking For Specific Watermaker Tech in Trinidad Sonosailor Plumbing Systems and Fixtures 3 30-07-2009 11:54
Where can I find specific owners forums? ejlindahl Multihull Sailboats 8 27-02-2009 06:00
Tollycraft - anything specific to beware of? denmanislander Powered Boats 3 20-12-2008 15:08
are sails boat specific? desertmonk Deck hardware: Rigging, Sails & Hoisting 2 30-03-2008 03:55

Advertise Here


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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.