Check out example codes for "uninstall elgg from hostgtor". It will help you in understanding the concepts better.

Code Example 1

Scroll Down for whole answer.

If you used Softaculous Apps Installer:
Click on Softaculous Apps Installer
Click on installs
click on red X(uninstall)

If you used Hostgator QuickInstall:
Go to QuickInstall.
Navigate to "My Installs".
Select uninstall

Learn ReactJs, React Native from akashmittal.com