hark-lib (Package Installation) for v.1.x

Support Environments

  • OS
    • Ubuntu 20.04 Focal (64bit)
    • Ubuntu 22.04 Jammy (64bit)

For other environments, please use the source compilation.
 

Installation

  • Ubuntu 20.04

Register HARK apt repository to install hark-lib deb package.

sudo bash -c 'echo -e "deb http://archive.hark.jp/harkrepos $(lsb_release -cs) non-free\ndeb-src http://archive.hark.jp/harkrepos $(lsb_release -cs) non-free" > /etc/apt/sources.list.d/hark.list'

 

Setup the GPG key.

wget -q -O - http://archive.hark.jp/harkrepos/public.gpg | sudo apt-key add -

 

  • Ubuntu 22.04 or later
#### Install curl.
sudo apt update && sudo apt install curl

#### Download the GPG key.
sudo curl -sSL http://archive.hark.jp/harkrepos/public.gpg -o /usr/share/keyrings/hark-archive-keyring.asc

#### Setup the repository URI.
sudo bash -c 'echo -e "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hark-archive-keyring.asc] http://archive.hark.jp/harkrepos $(lsb_release -cs) non-free\ndeb-src [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hark-archive-keyring.asc] http://archive.hark.jp/harkrepos $(lsb_release -cs) non-free" > /etc/apt/sources.list.d/hark.list'

 

HARK server re-indexing.

sudo apt update

 

hark-lib installation.

sudo apt install libhark-lib python3-hark-lib
sudo apt install python3-pip

Notes: In order to use the plotting node used kivy, additional installation of kivy garden graph is required.

python3 -m pip install https://github.com/kivy-garden/graph/archive/master.zip

or

python3 -m pip install kivy_garden.graph --extra-index-url https://kivy-garden.github.io/simple/

 

Uninstallation

hark-lib uninstallation.

sudo apt purge libhark-lib python3-hark-lib

 

Back to Top