Overview
This article addresses how you can manually uninstall or delete the Capsule8 application and associated configuration files. We will walk users through the step by step instructions for uninstalling the Capsule8 packages on your Linux environment using the systemd package manager.
Please use the steps below to remove the Capsule8 Sensor and Content on Centos/Redhat and Debian Ubuntu.
1. Uninstalling Capsule8 on Debian/Ubuntu
Follow the below steps to uninstall Capsule8 running on your Linux environment:
Uninstalling the Capsule Sensor and Content
Search to see the Capsule8 Sensor package running on your Linux environment using the command below:
apt list --installed | grep capsule8
Sample Output capsule8-sensor-systemd/xenial,now 4.4.1 amd64 [installed]
Remove the Capsule8-Sensor and Content
apt-get remove capsule8-sensor-systemd capsule8-content
Sample Output
Do you want to continue? [Y/n] y
(Reading database ... 39792 files and directories currently installed.)
Removing capsule8-content (4.4.1) ...
Removing capsule8-sensor-systemd (4.4.1) ...
Remove associated configurations files
After removing the Capsule8 Console and content users have to remove associated files to ensure successful removal of the Capsule8 Console. Please use the command below to remove the files:
rm -r /var/lib/capsule8
rm -r /run/capsule8
rm -r /etc/capsule8
userdel capsule8
Uninstalling the Capsule Console
Search to see if Capsule8 Console package is running on your Linux environment using the below command:
apt list --installed | grep capsule8-console
Sample Output
capsule8-console-systemd/xenial,now 4.4.1 amd64 [installed,automatic]
Remove the Capsule8-Console
apt-get remove capsule8-console-systemd capsule8-content
Sample Output
Do you want to continue? [Y/n] y
(Reading database ... 39786 files and directories currently installed.)
Removing capsule8-console-systemd (4.4.1) ...
Remove associated configurations files
After removing the Capsule8 Console and content users have to remove associated files to ensure successful removal of the Capsule8 Console. Please use the command below to remove the files:
rm -r /var/lib/capsule8
rm -r /run/capsule8
rm -r /etc/capsule8
userdel capsule8
2. Uninstalling Capsule8 on Redhat/Centos
Follow the below steps to uninstall Capsule8 running on your Linux environment.
Uninstalling the Capsule Sensor and Content
Search to see the Capsule8-sensor package running on your Linux environment using the command below:
yum list installed | grep capsule8
rpm -qa | grep capsule8
Sample Output
capsule8-content.noarch 4.4.1-1 @capsule8_capsule8
capsule8-sensor-systemd.x86_64 4.5.0-1 @capsule8_capsule8
Remove the Capsule8 Sensor and Content
yum remove capsule8-sensor-systemd capsule8-content
Sample Output
Dependencies Resolved
===================================================================================================
Package Arch Version Repository Size
===================================================================================================
Removing:
capsule8-content noarch 4.4.1-1 @capsule8_capsule8 134 k
capsule8-sensor-systemd x86_64 4.5.0-1 @capsule8_capsule8 85 M
Transaction Summary
===================================================================================================
Remove 2 Packages
Installed size: 85 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : capsule8-sensor-systemd-4.5.0-1.x86_64 1/2
Erasing : capsule8-content-4.4.1-1.noarch 2/2
Verifying : capsule8-content-4.4.1-1.noarch 1/2
Verifying : capsule8-sensor-systemd-4.5.0-1.x86_64 2/2
Removed:
capsule8-content.noarch 0:4.4.1-1 capsule8-sensor-systemd.x86_64 0:4.5.0-1
Complete!
Remove associated configurations files
rm -r /var/lib/capsule8
rm -r /run/capsule8
rm -r /etc/capsule8
userdel capsule8
Comments
0 comments
Article is closed for comments.