補足:単体でのインストール#
注意
device-connector-intdashは、intdash Edge Agent 2をインストールした際に依存パッケージとしてインストールされています。 インストールされていることを確認するには、以下のコマンドを実行してください。
$ device-connector-intdash --version
device-connector-intdashがインストール済みの場合は、本インストール手順は不要です。
device-connector-intdashを正しくインストールするには以下の要件を満たす必要があります。
ディストリビューションとアーキテクチャー
ディストリビューション |
バージョン |
アーキテクチャー |
|---|---|---|
Ubuntu |
22.04(LTS), 20.04(LTS), 18.04(LTS) |
x86_64 (or amd64), armhf, arm64 |
Debian |
11, 10, 9 |
x86_64 (or amd64), armhf, arm64 |
device-connector-intdashは、アプトポッドの公開リポジトリで「device-connector-intdash」パッケージとして提供されています。 device-connector-intdashをインストールするには、インストール先エッジコンピューターのターミナルで以下のコマンドを実行します。
アプトポッドの公開リポジトリの設定を行います。
コマンド内の
${DISTRIBUTION}には、ご使用の環境に応じて、ubuntuまたはdebianを指定してください。$ sudo apt-get update $ sudo apt-get install -y \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent \ lsb-release $ sudo mkdir -p /etc/apt/keyrings $ curl -fsSL https://repository.aptpod.jp/intdash-edge/linux/${DISTRIBUTION}/gpg | \ sudo gpg --dearmor -o /etc/apt/keyrings/intdash-edge.gpg $ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/intdash-edge.gpg] \ https://repository.aptpod.jp/intdash-edge/linux/${DISTRIBUTION} $(lsb_release -cs) \ stable" \ | sudo tee /etc/apt/sources.list.d/intdash-edge.list $ sudo apt-get update
device-connector-intdashをインストールします。
$ sudo apt-get install -y device-connector-intdash
注釈
上記のインストール手順では、device-connector-intdashが提供するプラグイン全てと、推奨される依存パッケージも含めてインストールされます。
プラグイン開発を目的に、必要最低限の機能のみインストールしたい場合は、 パッケージ情報 を参照し、必要に応じてプラグインパッケージを個別にインストールしてください。
$ sudo apt-get install -y device-connector-intdash-bin $ sudo apt-get install -y device-connector-plugins-<インストールしたいプラグインパッケージ>
パッケージ情報#
device-connector-intdashは、本体パッケージおよび複数のプラグインパッケージで構成されます。
パッケージ |
エレメント |
パイプライン設定サンプル |
|---|---|---|
device-connector-intdash |
全てのエレメント |
全てのパイプライン設定サンプル |
device-connector-intdash-bin |
基本エレメント [1] |
なし |
device-connector-plugins-apt-usbtrx |
||
device-connector-plugins-device-inventory |
なし |
|
device-connector-plugins-gps |
||
device-connector-plugins-intdash |
http-server-src
iscp-rest-src
command-fifo-filter
iscp-v2-compat-dump-filter
iscp-v2-compat-live-filter
http-client-sink
iscp-rest-sink
|
iscp_rest_downstream.yml
iscp_rest_upstream.yml
replay.yml
|
device-connector-plugins-joystick |
||
device-connector-plugins-multimedia |
||
device-connector-plugins-socketcan |
警告
上の表の中でリンクの無いエレメントおよびパイプライン設定サンプルは実験的な機能です。
これらは現在の段階では正式なサポートの対象外であり、利用は推奨しません。 また、継続的な変更や改良が予想されるため、現在のところこれらの機能についてのドキュメントは提供していません。
注釈
利用可能なdevice-connector-intdashのバージョンは、アプトポッドの公開リポジトリの設定後に以下のコマンドで確認が可能です。
表示例:
$ apt policy device-connector-intdash
device-connector-intdash:
Installed: 2.0.0
Candidate: 2.0.0
Version table:
*** 2.0.0 500
500 https://repository.aptpod.jp/intdash-edge/linux/ubuntu focal/stable amd64 Packages
100 /var/lib/dpkg/status