Hamlib: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
mNo edit summary
Line 14: Line 14:
=== Build Hamlib in Docker ===
=== Build Hamlib in Docker ===


=== It comes with instructions, here: https://github.com/Hamlib/Hamlib/tree/master/docker-build ===
It comes with instructions, here: https://github.com/Hamlib/Hamlib/tree/master/docker-build
This will build and install hamlib in /usr/local/hamlib-alpha/.
 
<pre>
cd ~/docker
https://github.com/Hamlib/Hamlib.git
cd Hamlib/docker-build/
docker buildx build --no-cache -t hamlib-build .
docker run -ti -u root -v $(pwd):/home/hamlib/build -v /usr/local/hamlib-alpha:/usr/local/hamlib-alpha hamlib-build
/usr/local/hamlib-alpha/bin/rigctl
</pre>
 
=== Build Grig (in Docker?) ===
=== Build Grig (in Docker?) ===
[[Category: Radio]]
[[Category: Radio]]

Revision as of 06:01, 27 March 2023

A library for radio and rig control.

https://github.com/Hamlib/Hamlib

Grig

Grig is an app for controlling rigs and rotators.

Getting started I want to set up Grig + the Kenwood TM-D710A on Plover (Ubuntu Linux), so that I can test Hamlib with that radio

I am trying to use it in my Svxlink projects.

I need the latest versions of things to work on Plover, so I am building them from source code. I want to try building in Docker so that I can keep the changes to Plover contained.

Build Hamlib in Docker

It comes with instructions, here: https://github.com/Hamlib/Hamlib/tree/master/docker-build This will build and install hamlib in /usr/local/hamlib-alpha/.

cd ~/docker
https://github.com/Hamlib/Hamlib.git
cd Hamlib/docker-build/
docker buildx build --no-cache -t hamlib-build .
docker run -ti -u root -v $(pwd):/home/hamlib/build -v /usr/local/hamlib-alpha:/usr/local/hamlib-alpha hamlib-build
/usr/local/hamlib-alpha/bin/rigctl

Build Grig (in Docker?)