The apt repository of yoctopuce

The APT repository of Yoctopuce

The Yoctopuce APT repository allow to install VirtualHub, the command line library and the Yocto-Visualization, Yocto-Discovery, and Yocto-BridgeCalibration tools on any Linux distribution that uses apt-get. The best known distributions are Debian, Ubuntu and Raspbian, but all distributions that are based on these should also work.

Add the Yoctopuce APT Repository

Before we can use apt-get we have to add the Yoctopuce APT repository to the system using the following commands:

1. Install the GPG key of the repository.

wget -q -O - | gpg --dearmor | sudo tee -a /usr/share/keyrings/yoctopuce.gpg > /dev/null

2. Add our repository to the list of servers used by apt-get

echo "deb [signed-by=/usr/share/keyrings/yoctopuce.gpg] apt/stable/" | sudo tee /etc/apt/sources.list.d/yoctopuce.list

Note: This installation is required only once per machine.

Install ModbusTool

The commands to update the list of available packages and install ModbusTool:

sudo apt-get update
sudo apt-get install modbustool

Yoctopuce, get your stuff connected.