Package Uninstallation

Debian Platform

Use the apt or the apt-get command to uninstall FogLAMP:

sudo apt -y purge foglamp

Red Hat Platform

sudo yum -y remove foglamp

Note

You may notice the warning in the last row of the package removal output:

dpkg: warning: while removing foglamp, directory ‘/usr/local/foglamp’ not empty so not removed

This is due to the fact that the data directory (/usr/local/foglamp/data by default) has not been removed, in case we might want to analyze or reuse the data further. So, if you want to remove foglamp completely from your system, then do rm -rf /usr/local/foglamp directory.