Skip to main content
OsamaFattoh
Explorer II
April 2, 2026
Question

Linux Agent Modification

  • April 2, 2026
  • 3 replies
  • 74 views

Hello, can I modify the Linux Agent Installer so that it checks for the required packages, and if they are missing, automatically downloads them?
Or are there any workarounds or automated actions for this?

3 replies

AEK
SuperUser
SuperUser
April 26, 2026

Hi Osama

In case you have similar Linux installations on your servers, as workaround you can check the dependencies on one node, then write a small script to install those dependencies before the agent, and then you run the same script on the other Linux servers.

AEK
Robbert4sure
New Member
May 1, 2026

Yeah, you can technically modify the Linux agent installer script to include pre-checks for required packages and trigger installs via yum/dnf or apt depending on the distro. A cleaner approach though is using a wrapper script or configuration management tools like Ansible to handle dependencies before running the installer. That keeps the agent package untouched and makes updates safer. Otherwise, automation at OS level is usually the recommended workaround. Hope it Helps

Robbert4Sure
New Member
May 6, 2026

Yes, you can wrap the installer with a pre-check script that verifies dependencies (like dpkg/rpm packages) and installs missing ones via the system package manager before running the agent. Some teams also automate this in CI so installs stay consistent just make sure to Reload the environment after package changes so the agent picks up the updated dependencies correctly.