Hi. Please address this as a separate post. Let’s have one topic per thread so we keep the forum tidy
Do the following: open the file manager, navigate to the folder where the downloaded file is and right-click somewhere on the manager (but not over the file) » Open terminal here. Then you should have a terminal on the right directory.
I’ve recently made a tutorial just on this topic, which I would recommend you to read:
However, the above tutorial is for doing it in a standalone, why may not be what you want. You’ll probably want to do it in a template. But some of the disclaimers in the beginning should apply.