I've downloaded intellij idea IDE from their website. I've putted it inside /usr/local/bin and then configured my PATH var and the program work correctly. the program folder has these two folders inside it, bin and lib. I know that if I moved their content to my /usr/local/bin and /usr/local/lib/ the program will work. However, it will be a problem to remove it later because I won't be able to distinguish its files from what was already there inside /usr/local/bin and /usr/local/lib/. I know that software centre doesn’t keep them in folders but it sprat them to /usr/bun /usr/lib and other folders.
so my question is in what way should I organize these type of programs ?