This section details how to install Polyverse’s polymorphic packages from an internet-connected machine. Polymorphing for Linux becomes the primary repository on the targeted system. This allows all supported packages to be retrieved from the Polyverse scrambled binary repository, and any custom, private, or unsupported packages to be retrievable from their original repositories. Every package downloaded is unique to the specific customer, and each used package is replaced every twenty-four hours.
If you haven't installed curl yet, install it.
apk add curl
apk update && apk upgrade
Note: Replace the demo auth key with your own, user-specific auth key.
curl -s https://repo.polyverse.io/cli | sh -s install <Your auth key here>
apk update && apk upgrade --no-cache --available && sed -in 's/^#//g' /etc/apk/repositories && apk update
Please reboot after re-installation, unless you're running in a container.
The configuration and installation is complete at this point.
Uninstalling Polyverse is a quick task. The high-level steps are as follows:
There is a script provided to automatically perform the removal of the Polyverse repository references. It can be executed using the following command:
curl -s https://repo.polyverse.io/cli | sh -s install --uninstall
apk update && apk upgrade --no-cache --available && sed -in 's/^#//g' /etc/apk/repositories && apk update
The configuration and uninstallation is complete at this point.
The package may not actually be available. Use this command to determine if the package is available for download from the repository.
apk search <package_name>