Does Jenkins Agent machines require same environment/software installed as the Controller/Master machine?

I have 3 agents and I separated the jobs. Should I need to install all build required software/program/app into the agent machine where build is going to execute? OR only installing the needed software/program/app into the Jenkins Controller enough to run the build in any agents?

Thank you,

The short answer is “yes”. Since the build is actually occurring on the agent, any build tools that you need would need to be installed on the agent. Some tools can be automatically installed using the “tool” capability of Jenkins. There are several tools that can be installed this way, you’d have to look up the list on the Jenkins docs.