Enabling Package Repositories
You can also download and install agents using Linux package management software for your operating system. To do this, you set up a repository for your operating system and then use the software's command line tools to manage automatic agent updates.
-
Alpine Linux systems: For details, see Installing with an Alpine Linux Repository
-
Container OS systems: Use curl or wget to update a raw package repository. For details, see Installing on Container OS from a Raw Package Repository
-
Debian or Ubuntu systems: Use the apt, apt-get, or aptitude tools to update a Debian repository. For details, see Installing with a Debian or Ubuntu Repository
-
RedHat, CentOS, or Amazon systems: Use the yum tool to update a rpm-redhat repository. For details, see Installing with a RedHat, CentOS, or Amazon Container.
-
SuSE systems: Use the zypper tool to update an rpm-suse repository. For details, see Installing with a SUSE Repository
You must perform one of the above procedures to enable the repository.
Before you install the agent, run the adcheck
utility to make sure that your environment is ready.
If you specify your repository on the command line, be sure to clean out your command history afterwards. Because the URL for your repository includes the credentials to access it, leaving this information around in command history is not a secure practice.