
KB No. 2771: UNINSTALLING OLFEO
In some cases, you will need to uninstall the Olfeo system. This KB explains how to uninstall Olfeo.
Olfeo virtual appliances
If the Olfeo equipment is a virtual appliance (OLFEO6V50, OLFEO6V200, OLFEO6V500, or OLFEO6V1000), an uninstallation script,uninstallation_olfeo.sh, is available in the/home/olfeo/ directory.
Make the script executable:chmod +xuninstall_olfeo.sh
Run the script:./uninstall_olfeo.sh
Software installation
In the chroot
Run the script ⇒/olfeo-stop.sh
Then run olfeo-status.sh toensure that the services are stopped.
Then exit chroot
Run the following commands:
systemctl stop olfeo-chroot
systemctl status olfeo-chroot
If chroot and services are properly stopped, you can run the following commands:
– umount /opt/olfeo/chroot/opt/olfeo/data/proxy/cache
– umount /opt/olfeo/chroot/opt/olfeo/data
–rm /opt/olfeo/ -rf
– rm /etc/systemd/system/default.target.wants/olfeo-chroot.service
Your Olfeo is now successfully uninstalled.
Warning: when using Debian 11 or 12 as the host system!
Consider using nsenter in place of chroot /opt/olfeo/chroot.
The command nsenter allows you to execute a shell in the same environment (namespace) as a target process.