Support articles
Find clear, step-by-step solutions to common WithSecure issues across installation, configuration, updates, and product performance.
How to uninstall Linux Security 64?
Last updated
Issue:
How to uninstall Linux Security 64?
Resolution:
You can follow the procedures below to uninstall Linux Security 64.
You can uninstall the product from the command line.
- 1. Log in to the Linux host as root.
- 2. Run the uninstallation command:
- RHEL-based distributions: rpm -e linuxsecurity-installer
- Debian-based distributions: dpkg -r linuxsecurity-installer
If the package removal command fails and Policy Manager Server is not installed on the same machine, run the following command: rm -rf /opt/f-secure /etc/opt/f-secure /var/opt/f-secure. This command removes the remaining files or systemd services if any. Finally, restart the system to make sure that all hanging services and processes are run down.
If you have installed Policy Manager Server on the same machine, do not delete the folders in full; instead, run the following commands to remove the necessary subfolders:
- rm -rf /etc/opt/f-secure/baseguard
- rm -rf /etc/opt/f-secure/fsbg
- rm -rf /etc/opt/f-secure/linuxsecurity
- rm -rf /opt/f-secure/baseguard
- rm -rf /opt/f-secure/fsbg
- rm -rf /opt/f-secure/linuxsecurity
- rm -rf /var/opt/f-secure/baseguard
- rm -rf /var/opt/f-secure/fsbg
- rm -rf /var/opt/f-secure/linuxsecurity
The uninstall command does not remove configuration files or log files that the product has generated. Check the product directories for remaining files and remove them if you are sure that you do not need them anymore.