The word PURGE

the word purge is used under two different context with ee:

  1. to remove cached files (as in big red button on nginx page)
  2. to uninstall components (as in purge the stack)

what does ee stack purge do? The documentation sounds like it “REMOVES” packages, If that is what it does, i would ask why do we need a remove command then? I would also suggest, the word purge is perhaps not the best choice for removing packages, as removing packages is sort of a big deal, which breaks sites, unlike the purging of cache which does not break sites.

Hi,

ee stack purge internally uses following command:

apt-get purge (package name)

and ee stack remove internally uses following command:

apt-get remove (package name)

So basically purge in ee stack purge is used to remove packages including its configuration file, while ee stack remove is used to remove packages, keeping configuration file as it is.

Hello @datagroove,

I hope your query is resolved. I am closing this support ticket for now.

Feel free to create a new support ticket if you have any queries further. :slight_smile: