 |
|
04-07-2019, 12:03
|
#61
|
Registered User
Join Date: Mar 2010
Location: Chicago summers, gulf during winters
Boat: Endeavour TrawlerCat 36 - My Bluegill Heaven
Posts: 180
|
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.
|
|
|
04-07-2019, 12:37
|
#62
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
Re: OS Linux specific
Quote:
Originally Posted by BluegillBoy
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
|
|
|
04-07-2019, 13:26
|
#63
|
Registered User
Join Date: Mar 2010
Location: Chicago summers, gulf during winters
Boat: Endeavour TrawlerCat 36 - My Bluegill Heaven
Posts: 180
|
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!)
|
|
|
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
|
|
|
08-07-2019, 10:11
|
#65
|
Registered User
Join Date: Mar 2010
Location: Chicago summers, gulf during winters
Boat: Endeavour TrawlerCat 36 - My Bluegill Heaven
Posts: 180
|
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.
|
|
|
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
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!
|
|
|
09-07-2019, 12:05
|
#67
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
Re: OS Linux specific
Quote:
Originally Posted by Mackan
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
Thomas
|
|
|
04-03-2020, 11:12
|
#68
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 16,934
|
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?
|
|
|
04-03-2020, 11:48
|
#69
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 16,934
|
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:
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?
|
|
|
04-03-2020, 11:52
|
#70
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 16,934
|
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) ?
|
|
|
04-03-2020, 13:00
|
#72
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 16,934
|
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?
|
|
|
04-03-2020, 13:26
|
#73
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 16,934
|
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.
|
|
|
04-03-2020, 14:45
|
#74
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 16,934
|
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.
|
|
|
04-03-2020, 16:37
|
#75
|
Registered User
Join Date: Jan 2018
Boat: Norseman 447cc
Posts: 172
|
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.
|
|
|
 |
|
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 |
|
|
|
|
|