OpenCPN on Udoo Quad

Discussion in 'Application & Utilities' started by Capt Jim, Feb 21, 2015.

  1. Capt Jim

    Capt Jim New Member

    Joined:
    Mar 16, 2014
    Messages:
    3
    Likes Received:
    0
    With the recent update of Udubuntu to 1.1 and OpenCPN to 4.0 it is now relatively easy to install OpenCPN. It is no longer necessary to get libraries and compile from source code. OpenCPN now has a repository so all that's needed is to add it and apt-get opencpn.

    Here is a script that can be executed on a fresh copy of udubuntu that gets opencpn running. I have not explored using all the features to be sure everything works, just ran it enough to verify it could run. The first few lines are mentioned in the user documentation to make sure things like GPS etc. will work.

    Code:
    sudo usermod -a -G dialout $USER
    sudo apt-get install xcalib
    #sudo apt-get install xdg-utils
    # xdg-utils already included in UdooBuntu v1.1
    
    sudo apt-get update #&& sudo apt-get upgrade
    sudo add-apt-repository ppa:opencpn/opencpn
    sudo apt-get update #needed to re-synch, else won't find opencpn
    sudo apt-get install opencpn
    
    
    If you want to put a shortcut on the desktop set it up to execute "opencpn" (i.e. no caps)
    The icon for it can be found here:
    Code:
    
    [Desktop Entry]
    Encoding=UTF-8
    Type=Application
    Name=opencpn
    Icon=/usr/share/opencpn/doc/images/opencpn_002.png
    Exec=opencpn
    Comment=
    
    So much easier than having to scrounge for libraries and compile from scratch.

    Now if we only had a case suitable for marine environments

    Enjoy,
    Jim
     
  2. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    It's very great Capt Jim! I'll give it a try 4 sure. How's your experience, great?
     
  3. Ewald Harmsen

    Ewald Harmsen New Member

    Joined:
    Feb 19, 2016
    Messages:
    12
    Likes Received:
    1
    I do not get this to work both on UDOObuntu and UDOObuntu 2 RC1.
    I succeed in installing OPENcpn, but when I add charts, and update the database, the opencpn crashes and will not run again.

    If I enable OpenGL, the program crashes immediately.

    Am I doing something wrong?
     
  4. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240

Share This Page