Skip to content

Uninstalling Riptides

The Riptides uninstaller removes the daemon, kernel module, and associated systemd services from a Linux host. It supports both a standard removal (configuration and data are preserved) and a full purge that deletes everything.

The installer places the uninstall script at /usr/local/bin/riptides-uninstall.sh, so on any node where Riptides was installed with install.sh you can run it directly:

Terminal window
# Standard removal — config and data directories are kept
sudo riptides-uninstall.sh
# Full purge — also deletes /etc/riptides and /var/lib/riptides
sudo riptides-uninstall.sh --purge
# Skip the confirmation prompt
sudo riptides-uninstall.sh --yes

If the script is not present (for example, it was manually removed or installation was incomplete), you can fetch and run it directly:

Terminal window
curl -fsSL https://docs.riptides.io/uninstall.sh | sudo bash
# with flags:
curl -fsSL https://docs.riptides.io/uninstall.sh | sudo bash -s -- --purge

The script must be run as root.

ItemDetails
systemd servicesriptides, riptides-modules, riptides-driver-loader — stopped and disabled
systemd drop-in/etc/systemd/system/riptides-driver-loader.service.d/
Kernel moduleUnloaded with modprobe -r riptides (or rmmod as fallback)
PackagesAll riptides* packages via dpkg -r (Debian/Ubuntu) or rpm -e (RHEL/Fedora/Amazon Linux)
Uninstall script/usr/local/bin/riptides-uninstall.sh
DirectoryContents
/var/lib/riptidesCertificates, private keys, and workload identity state
/etc/riptidesDaemon configuration, identity, service, and credential files
FlagDescription
--purgeAlso remove the data directory and config directory
--data-dir DIROverride the data directory path (default: /var/lib/riptides)
--config-dir DIROverride the config directory path (default: /etc/riptides)
--yes, -ySkip the confirmation prompt
--verbose, -vPrint full output from package manager and systemctl commands
--help, -hShow usage

By default the script prints a summary of what will be removed and asks for confirmation:

▶ Riptides Uninstaller
The following will be removed:
• riptides systemd services (riptides, riptides-modules, riptides-driver-loader)
• riptides kernel module
• riptides packages (daemon + driver)
daemon version : v0.5.3
driver version : v0.5.3
• data directory : /var/lib/riptides (kept — pass --purge to also remove)
• config directory: /etc/riptides (kept — pass --purge to also remove)
Continue? [y/N]

Pass --yes to skip this prompt in automated or scripted environments.

If the kernel module cannot be unloaded (for example because a process still holds an open socket managed by the driver), the script emits a warning and continues:

⚠ Kernel module still loaded — reboot may be required

A reboot will fully unload the module. Everything else (packages, services, files) will have been removed by that point.

If you prefer to uninstall without the script, or need to clean up a partial install, follow these steps:

Terminal window
sudo systemctl stop riptides riptides-modules riptides-driver-loader
sudo systemctl disable riptides riptides-modules riptides-driver-loader
Terminal window
sudo modprobe -r riptides
# or, if modprobe is unavailable:
sudo rmmod riptides

Debian / Ubuntu:

Terminal window
sudo dpkg -r $(dpkg -l 'riptides*' | awk '/^ii/{print $2}')

RHEL / Fedora / Amazon Linux:

Terminal window
sudo rpm -e $(rpm -qa 'riptides*')
Terminal window
# systemd drop-in
sudo rm -rf /etc/systemd/system/riptides-driver-loader.service.d
sudo systemctl daemon-reload
# Uninstall script (if present)
sudo rm -f /usr/local/bin/riptides-uninstall.sh
# Config and data (--purge equivalent)
sudo rm -rf /etc/riptides
sudo rm -rf /var/lib/riptides