 |
|
01-03-2020, 23:44
|
#3
|
Registered User
Join Date: Aug 2011
Location: Melbourne Australia
Boat: Paper Tiger 14 foot, Gemini 105MC 34 foot Catamaran Hull no 825
Posts: 2,912
|
Re: Linux Plugin Installation -need VDR_pi
I just downloaded Linux Mint. xfce, 19-03, 64 bit-ISO into my laptop, Because its the easiest to operate and is supposed to be like Windows 7,
I used Universal USB- Installer-1.9.9.0 exe to open it and install on my Flashdrive USB,
Then I put the USB Flash drive into my laptop and it installed it with no problems,
It needs a 4 GB flashdrive to down load to, It takes about 4 hours to down load,
Its 2.6 GB,
I did this because I hate windows 10 on my laptop which it came with,
|
|
|
02-03-2020, 04:33
|
#4
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,211
|
Re: Linux Plugin Installation -need VDR_pi
Thanks Dave, did not see that. Will give it a try, that looks simple to do.
Also found this good blog instruction link for installing rtsl-ais_pi
compiling it, to serve as an example, some of the directories may be different.
If you don't have the GIT package install it with
$ sudo apt install git
Clone RTL-AIS from github
$ git clone https://github.com/dgiardini/rtl-ais
Compile and check
And then go to the created directory and compile
$ cd rtl-ais
$ make
Copy the program to the right place.
$ sudo cp rtl_ais /usr/local/bin
|
|
|
02-03-2020, 06:31
|
#5
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,211
|
Re: Linux Plugin Installation -need VDR_pi
Following https://launchpad.net/~opencpn/+archive/ubuntu/opencpn
I believe I have added the PPA to my Ubuntu 18.04 Bionic system with
Quote:
$ sudo add-apt-repository ppa pencpn/opencpn
$ sudo apt-get update
|
I have also added my public key to UbuntuOne.
Now do I use?
Quote:
$ sudo apt-get install opencpn-plugin-vdr
|
From Ubuntu how do I see the list of plugins available & installed this way?
|
|
|
02-03-2020, 06:41
|
#6
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,211
|
Re: Linux Plugin Installation -need VDR_pi
Quote:
rgleason@rgleason-VirtualBox:~$ sudo apt-get install opencpn-plugin-vdr
[sudo] password for rgleason:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package opencpn-plugin-vdr
|
Hmm do I need to add that beta PPA list to my system somehow?
Earlier, actually I used
Quote:
$ sudo add-apt-repository ppa pencpn/opencpn
$ sudo add-apt update
|
|
|
|
02-03-2020, 07:07
|
#7
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,211
|
Re: Linux Plugin Installation -need VDR_pi
I did $ apt policy and got a lot of bionic stuff security etc, and including ppa.launchpad.net/ubuntu bionic main i386 for opencpn and others. Long list.
Then used app "Software & Upgrades" under "Other Software" to find http://ppa.launchpad.net/opencpn/ubuntu bionic which is checked.
Under "Authentication" I see the key for Launchpad PPA for OpenCPN
|
|
|
02-03-2020, 07:16
|
#8
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,211
|
Re: Linux Plugin Installation -need VDR_pi
To install a package from the PPA, run the following command:
Quote:
sudo apt install name-of-package
|
Found at the bottom of PPA's Explained
But I still get
Quote:
rgleason@rgleason-VirtualBox:~$ sudo apt install opencpn-plugin-vdr
[sudo] password for rgleason:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package opencpn-plugin-vdr
rgleason@rgleason-VirtualBox:~$
|
|
|
|
02-03-2020, 07:21
|
#9
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,211
|
Re: Linux Plugin Installation -need VDR_pi
Now I get it finally, this is bdbcat's launchpad. I have to add that as well.
https://launchpad.net/~bdbcat/+archive/ubuntu/opencpn
With
Quote:
sudo add-apt-repository ppa:bdbcat/opencpn
sudo apt-get update
|
|
|
|
02-03-2020, 07:23
|
#10
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,708
|
Re: Linux Plugin Installation -need VDR_pi
Rick..
You need to add the Beta repo:
Code:
$sudo add-apt-repository ppa:bdbcat/opencpn
$sudo apt-get update
Dave
|
|
|
02-03-2020, 07:31
|
#11
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,211
|
Re: Linux Plugin Installation -need VDR_pi
Added bdbcat launchpad list. Then
Quote:
~$ sudo apt install opencpn-plugin-vdr
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libllvm7 linux-headers-5.0.0-27 linux-headers-5.0.0-27-generic
linux-image-5.0.0-27-generic linux-modules-5.0.0-27-generic
linux-modules-extra-5.0.0-27-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
opencpn opencpn-doc opencpn-gshhs-crude opencpn-gshhs-full
opencpn-gshhs-high opencpn-gshhs-intermediate opencpn-gshhs-low
opencpn-tcdata wx3.0-i18n xcalib
Suggested packages:
icc-profiles
The following NEW packages will be installed:
opencpn opencpn-doc opencpn-gshhs-crude opencpn-gshhs-full
opencpn-gshhs-high opencpn-gshhs-intermediate opencpn-gshhs-low
opencpn-plugin-vdr opencpn-tcdata wx3.0-i18n xcalib
0 upgraded, 11 newly installed, 0 to remove and 38 not upgraded.
Need to get 103 MB of archives.
After this operation, 337 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
|
I said "NO" because I don't want to use 337mb in a VB!!
I think I would just like
opencpn-plugin-vdr
opencpn-tcdata
opencpn-gshhs-crude
So how do it get that and not the whole shooting match! I only asked for opencpn-plugin-vdr to begin with!
Does not seem simple anymore.
This answer isn't simple, have to lower the priority of all the other packages by creating another document.... https://askubuntu.com/questions/1702...ges-from-a-ppa
|
|
|
03-03-2020, 08:23
|
#12
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,211
|
Re: Linux Plugin Installation -need VDR_pi
Does anyone know of a simple command line way of doing this
Quote:
$ sudo apt install opencpn-plugin-vdr
|
Without having to download 337mb of PPA updates that I do not need on my minisule VirtualBox Ubuntu 18.04?
Thanks.
|
|
|
03-03-2020, 11:34
|
#13
|
Registered User
Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
|
Re: Linux Plugin Installation -need VDR_pi
Quote:
Originally Posted by rgleason
Does anyone know of a simple command line way of doing this
Without having to download 337mb of PPA updates that I do not need on my minisule VirtualBox Ubuntu 18.04?
Thanks.
|
Rick,
Use command line option to tell apt not to install dependencies. Type apt —help to find the option to override automatic install of dependencies.
|
|
|
03-03-2020, 12:57
|
#14
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,211
|
Re: Linux Plugin Installation -need VDR_pi
Found this suggestion
Quote:
sudo apt-get install opencpn-plugins-vdr [dependency to not in]-
|
https://serverfault.com/questions/25...dencies/859394
Then ran the command again to find the packages to ignore with No afterwards.
https://serverfault.com/questions/25...dencies/859394
Quote:
rgleason@rgleason-VirtualBox:~$ sudo apt-get install opencpn-plugin-vdr
[sudo] password for rgleason:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libllvm7
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
opencpn opencpn-doc opencpn-gshhs-crude opencpn-gshhs-full opencpn-gshhs-high
opencpn-gshhs-intermediate opencpn-gshhs-low opencpn-tcdata wx3.0-i18n xcalib
Suggested packages:
icc-profiles
The following NEW packages will be installed:
opencpn opencpn-doc opencpn-gshhs-crude opencpn-gshhs-full opencpn-gshhs-high
opencpn-gshhs-intermediate opencpn-gshhs-low opencpn-plugin-vdr opencpn-tcdata wx3.0-i18n xcalib
0 upgraded, 11 newly installed, 0 to remove and 38 not upgraded.
Need to get 103 MB of archives.
After this operation, 337 MB of additional disk space will be used.
Do you want to continue? [Y/n]
|
Then I started to realize something. I used git clone https://github.com/OpenCPN/Opencpn.git and built it.
Does a PPA install of a plugin expect a PPA install of OpenCPN? My OpenCPN build is not being seen!
Is there some path problem or am I going to have to download a vdr_pi file from somewhere and execute it instead?
Maybe it would be best to just git clone it and build it? What directory should I be in when I clone vdr_pi? It look like Home/ OpenCPN / plugins. Then build it?
|
|
|
03-03-2020, 13:16
|
#15
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,211
|
Re: Linux Plugin Installation -need VDR_pi
~cd OpenCPN
~/OpenCPN$ cd plugins
~/OpenCPN/plugins$ git clone https://github.com/Rasbats/vdr_pi.git
Cloning into 'vdr_pi'...
remote: Enumerating objects: 144, done....
~/OpenCPN/plugins$ cd ..
~/OpenCPN$ cd build
~/OpenCPN/build$ cmake ../
-- cmake version: 3.10.2
Then:
Quote:
In file included from /home/rgleason/OpenCPN/plugins/vdr_pi/src/vdr_pi.h:48:0,
from /home/rgleason/OpenCPN/plugins/vdr_pi/src/vdr_pi.cpp:37:
/home/rgleason/OpenCPN/plugins/vdr_pi/src/ocpn_plugin.h:48:10: fatal error: wxSVG/svg.h: No such file or directory
#include "wxSVG/svg.h"
^~~~~~~~~~~~~
compilation terminated.
plugins/vdr_pi/CMakeFiles/vdr_pi.dir/build.make:89: recipe for target 'plugins/vdr_pi/CMakeFiles/vdr_pi.dir/src/vdr_pi.cpp.o' failed
|
|
|
|
 |
|
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 |
|
|