o11y-deps-installer is a command-line tool that installs the necessary dependencies for the O11y project. It simplifies the installation process by bundling the required libraries and tools into a single, easy-to-use executable.
- Extracts embedded dependencies from a tar.gz file
- Updates shebangs and symlinks to match the target installation directory
- Fixes binary and library dependencies using patchelf
- Supports uninstallation, reinstallation, and forced installation options
Go 1.20 or higher
To build the o11y-deps-installer, use the provided Makefile:
make download_packer
make build_packer_image
make build
To install the dependencies, simply run the generated o11y-deps-installer
binary:
./o11y-deps-installer
By default, the dependencies will be installed into /opt/o11y/deps
. You can change the destination directory using the --deps-home
flag:
./o11y-deps-installer --deps-home /path/to/custom/directory
To uninstall the dependencies, use the --uninstall
flag:
./o11y-deps-installer --uninstall
To reinstall the dependencies, use the --reinstall
flag:
./o11y-deps-installer --reinstall
The o11y-deps-installer source code is released under the Apache License 2.0.
Please note that the release artifacts, which include the bundled dependencies like Python, Alpine Linux, Ansible, and others, are subject to their respective licenses. These dependencies are not covered by the Apache License 2.0 of o11y-deps-installer.