This article will give instructions on how to uninstall the controller from the supported platforms. Be sure to download a backup file from the controller if the configuration may still be relevant. See the Related Articles for more.
NOTES & REQUIREMENTS: Applies to UniFi Network Controller installed on Debian-based Linux, Windows, and macOS.
Table of Contents
Debian-based Linux (Debian, Mint, Ubuntu, etc)
CLI: Access the command line interface (CLI). You can do this using the CLI button in the GUI or by using a program such as PuTTY.
The easiest way to uninstall the controller is through a purge command in the terminal. Follow the steps below to purge the controller install.
1. Open terminal or SSH to the controller host.
2. Use the following command:
sudo dpkg -P unifi
3. After the command above completes, the controller should be fully purged from the system. In addition, a reboot should take care of any residual files.
Depending on the OS type (win10/server) navigation may vary.
1. Open Apps & Features in Windows settings.
2. Find Ubiquiti UniFi (remove only).
3. Select Uninstall and follow the prompts.
4. When this process completes the controller should be uninstalled.
1. Delete the UniFi app from the Applications section.
2. Delete the folder: ~/Library/Application\ Support/UniFi/
3. After those two items have been removed the UniFi Controller should be removed from the system.