← Back to Support Overview

NETVARA KNOWLEDGE BASE

How to Uninstall Netvara Client on Linux

How to Uninstall Netvara Client on Linux

Overview

You can remove Netvara Client from Linux with the built-in uninstaller. It stops and disables the per-user systemd service, notifies the Netvara Console, and removes the local Netvara Client directory.

Prerequisites

  • A Linux system with Netvara Client installed.
  • Access to the Linux user account that installed the client.
  • A user session with systemctl --user available.
  • Terminal access.
  • If you want the console to receive the uninstall notification, an active network connection.

Step-by-Step Instructions

1. Open a terminal.
2. Run the native uninstaller:

   python3 ~/.netvara-client/netvara_client.py uninstall

3. Follow the prompts. To approve the operation without an interactive confirmation, add -y or --yes:

   python3 ~/.netvara-client/netvara_client.py uninstall --yes

The uninstaller will:

  • Stop and disable the user service netvara-client.service.
  • Notify the Netvara Console that the client is being removed, when the console is reachable.
  • Remove the ~/.netvara-client directory and its local client files.

Manual cleanup, if the native uninstaller is unavailable

Use these commands only if the native uninstaller cannot complete:

systemctl --user stop netvara-client.service 2>/dev/null || true
systemctl --user disable netvara-client.service 2>/dev/null || true
rm -f ~/.config/systemd/user/netvara-client.service
systemctl --user daemon-reload
rm -rf ~/.netvara-client

The rm -rf command permanently removes the local Netvara Client directory. Confirm the path carefully before running it.

Verification

1. Check that the client directory is gone:

   test ! -e ~/.netvara-client && echo "Netvara Client files removed"

2. Check the user service status:

   systemctl --user status netvara-client.service

The service should not be active. If the unit was removed, systemd may report that the unit could not be found.
3. If you use the Netvara Console, verify that the device is no longer shown as an active client after the console has processed the uninstall notification.

Troubleshooting & Common Questions

systemctl --user cannot connect to the user bus. Sign in to the Linux desktop or user session that owns the client, then retry. If you are using a remote shell, ensure that the user session environment is available.

The uninstaller cannot notify the console. Check your network connection and try again. You can still complete local cleanup, but the console may take longer to reflect the device removal.

The service still appears after removing the unit file. Run systemctl --user daemon-reload, then check the status again. A new login session may also be required on some distributions.

Will uninstalling remove my account? No. It removes the client from this Linux system. Your Netvara account and other devices are not deleted.

← Back to Support Overview