I installed NetBeans 8.2 with GlassFish 4.1.1, but something didn't work, so I install it again with instructions from some website, and it worked perfect till now. Maybe I deleted something when I cleaned the computer memory. Don't know what is the problem, I'm new with this, never worked with servers and web applications before.
Anyway, I want to completely uninstall it with all files and then install again fresh, clean, working one.
How to do that using Terminal? I have Ubuntu 18.04, and want GlassFish 4.1.1.