Skip to main content

Installation

Prerequisites

For CAN and VCAN support, RemotiveBus requires SocketCAN to be installed on the host. SocketCAN provides CAN drivers as well as tooling to work with CAN networks.

To get the best leverage using SocketCAN the following kernel modules are also required, service emits error if any of the following is missing:

  • vxcan (kernel option: CONFIG_CAN_VXCAN)
  • can-gw (kernel option: CONFIG_CAN_GW)
  • vcan (kernel option: CONFIG_CAN_VCAN)

If startup fails with a missing module error, install the kernel module package for your distro/kernel. On Ubuntu, this is often:

sudo apt install linux-modules-extra-$(uname -r)

Installation

curl -fsSL \
https://packages.remotivelabs.com/apt-repo-signing-key.gpg \
| sudo gpg --dearmor -o /usr/share/keyrings/remotivelabs-apt.gpg

echo "deb [signed-by=/usr/share/keyrings/remotivelabs-apt.gpg] \
https://packages.remotivelabs.com remotivelabs-apt main" \
| sudo tee /etc/apt/sources.list.d/remotivelabs.list

sudo apt update
sudo apt install remotivebusd

Podman

Podman works in both rootful and rootless mode but to enable rootless mode you must add your user to the remotivebus Linux group.

sudo usermod -aG remotivebus <your_username>