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)

Quick install

Install or upgrade with a single command:

curl -fsSL https://files.remotivelabs.com/remotivebus/install.sh | bash
info

RemotiveBus runs on Linux only.

Install script options

To pass options through curl … | bash, add -s -- before them:

# Install a specific version
curl -fsSL https://files.remotivelabs.com/remotivebus/install.sh | bash -s -- 0.11.3

# Force a reinstall even if already up to date
curl -fsSL https://files.remotivelabs.com/remotivebus/install.sh | bash -s -- -f

# Non-interactive (no prompts)
curl -fsSL https://files.remotivelabs.com/remotivebus/install.sh | bash -s -- -y

# Force a backend instead of auto-detecting (apt|yum|tar)
curl -fsSL https://files.remotivelabs.com/remotivebus/install.sh | bash -s -- --method tar

# Print what would happen without changing anything
curl -fsSL https://files.remotivelabs.com/remotivebus/install.sh | bash -s -- --dry-run
How the script installs per platform
PlatformMethod
Debian / Ubuntuapt + RemotiveLabs apt repository
Red Hat Enterprise Linux (RHEL) / Fedoradnf/yum + RemotiveLabs yum repository
Other Linux (e.g. Arch)installer tarball, verified against its SHA-256 digest

The installer tarball bundles the deb/rpm/pacman packages and installs via whichever of dpkg/dnf/pacman the host has, so every method ends in a proper package install—upgrades and uninstall go through your package manager.

Manual install

If you prefer to manage the installation yourself, choose your platform and use one of the methods below instead of the install script.

Add the RemotiveLabs apt repository (the same one that serves the RemotiveCLI—skip this if you already added it) and install:

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

Upgrade:

sudo apt update
sudo apt install remotivebusd

Verify installation

The package enables and starts the remotivebusd service. Verify that it's running:

systemctl status remotivebusd.service

If the service isn't running, check the logs with sudo journalctl -u remotivebusd.service—a common cause is missing kernel modules (see Prerequisites).

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>