Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 01-03-2020, 16:12   #1
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
Linux Plugin Installation -need VDR_pi

OS: Ubuntu 18.04

Need to install VDR_pi

I am inexperienced with Linux

1. Launchpad has no Vdr_pi for Bionic (I think that is what I need.)
2. Use Git? I believe [Rasbats] is most current
git clone https://github.com/Rasbats/vdr_pi.git
then what exactly?

3. Use a deb package if it can be found somewhere?

-----

Install Linux Plugins
Linux Packages (*.deb or *.so)
rgleason is offline   Reply With Quote
Old 01-03-2020, 20:01   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
Re: Linux Plugin Installation -need VDR_pi

Rick...


You find VDR for 18.04 on the Beta PPA:


https://launchpad.net/~bdbcat/+archive/ubuntu/opencpn


Dave
bdbcat is offline   Reply With Quote
Old 01-03-2020, 22:44   #3
Registered User
 
Mr B's Avatar

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,
Mr B is offline   Reply With Quote
Old 02-03-2020, 03:33   #4
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
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




rgleason is offline   Reply With Quote
Old 02-03-2020, 05:31   #5
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
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 ppapencpn/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?
rgleason is offline   Reply With Quote
Old 02-03-2020, 05:41   #6
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
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 ppapencpn/opencpn
$ sudo add-apt update
rgleason is offline   Reply With Quote
Old 02-03-2020, 06:07   #7
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
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
Attached Thumbnails
Click image for larger version

Name:	Software-Updates.png
Views:	41
Size:	121.2 KB
ID:	209864   Click image for larger version

Name:	Authentication.png
Views:	41
Size:	118.4 KB
ID:	209865  

rgleason is offline   Reply With Quote
Old 02-03-2020, 06:16   #8
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
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:~$
rgleason is offline   Reply With Quote
Old 02-03-2020, 06:21   #9
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
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
rgleason is offline   Reply With Quote
Old 02-03-2020, 06:23   #10
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
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
bdbcat is offline   Reply With Quote
Old 02-03-2020, 06:31   #11
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
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
rgleason is offline   Reply With Quote
Old 03-03-2020, 07:23   #12
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
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.
rgleason is offline   Reply With Quote
Old 03-03-2020, 10:34   #13
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Linux Plugin Installation -need VDR_pi

Quote:
Originally Posted by rgleason View Post
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.
transmitterdan is offline   Reply With Quote
Old 03-03-2020, 11:57   #14
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
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?
rgleason is offline   Reply With Quote
Old 03-03-2020, 12:16   #15
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
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
rgleason is offline   Reply With Quote
Reply

Tags
installation, linux, plug

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
VDR_pi Enhanced -? rgleason OpenCPN 9 14-06-2018 09:34
Does the findit plugin work in the 4.8 Linux release? Firestorm OpenCPN 1 19-10-2017 19:16
BsB4 plugin for Linux? jakobcornelis OpenCPN 6 01-06-2017 09:12
Google Earth plugin for Linux abinp12 OpenCPN 4 30-06-2016 05:38
New Plugin Development on Linux globalkeith OpenCPN 5 03-05-2012 07:16

Advertise Here


All times are GMT -7. The time now is 17:16.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.