Installation¶
There are two ways to install Neuron Library.
Install from APT repository
Build from source code
Install from APT repository¶
Setup ADLINK APT repository (Only intel-based system is needed, e.g. ROScube-I)
sudo apt install curl
curl -L --insecure https://neuron.adlinktech.com/debian/repo_signing.key | sudo apt-key add -
echo 'Acquire::https::neuron.adlinktech.com::Verify-Peer "false";' | sudo tee /etc/apt/apt.conf.d/99roscube > /dev/null
echo 'Acquire::https::neuron.adlinktech.com::Verify-Host "false";' | sudo tee -a /etc/apt/apt.conf.d/99roscube > /dev/null
echo "deb [arch=$(dpkg --print-architecture)] https://neuron.adlinktech.com/debian/common $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/roscube.list > /dev/null
sudo apt update
Note
If you use NVIDIA series platform (e.g. ROScube-X / ROScube Pico), the APT repository has already been set up in the BSP provided by ADLINK.
Install Neuron Library from ADLINK APT repository
sudo apt install neuron-library
After installation, the Neuron Library will be located in
/opt/adlink/neuron-sdk/neuron-library/
.Reboot the system and then you can use Neuron Library without root privilege.
Build from source code¶
You can also build Neuron Library from source code. The source code of Neuron Library can be found at https://github.com/Adlink-ROS/mraa, and include usage examples and detailed information of the latest version.