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 - https://www.yoctopuce.com/apt/KEY.gpg | 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] https://www.yoctopuce.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/yoctopuce.list
Note: This installation is required only once per machine.
The commands to update the list of available packages and install Yocto-Discovery:
sudo apt-get update
sudo apt-get install yoctodiscovery