pip Installation

To install or upgrade to the latest version of the agent, run the pip install command:
PlatformCommand
Linux
Default JRE
pip install -U appdynamics
Custom JRE
pip install -U appdynamics-without-jre
Note: For Python 3.12 or higher, ensure to install the setuptools package.
Apple Linux
Default JRE
apk add libstdc++
pip install -U appdynamics-alpineip install -U appdynamics
Custom JRE
apk add libstdc++
pip install -U appdynamics-alpine-without-jre

When there are multiple packages, you can locate the agent using the pip list command or using the List packages facility at https://pypi.python.org/pypi and then find appdynamics in the output.

Note:

For production deployments, AppDynamics recommends that you freeze the versions of dependencies so that they are not upgraded in production without first being deployed to your test/staging environments. The command to install or upgrade to a particular version of the AppDynamics Python Agent is:

pip install -U appdynamics==<released_agent_version>
For Example,
pip install -U appdynamics==22.1.0.0

This command always installs the exact same version of the agent each time it is run.