Your installation of SUSE Linux Enterprise Server (SLES) must be registered before installing Polymorphing.
If you're using Polymorphing bundled with SUSE Linux Enterprise Server, you'll need to install SLES first. Installation instructions for v15.1 and v15.2 can be found here:
Installation instructions for SLES 15.1
Installation instructions for SLES 15.2
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.
zypper update -y
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>
zypper -n --gpg-auto-import-keys update && zypper -n install --auto-agree-with-licenses --no-recommends -f $(zypper -n search --installed-only --type package -v | grep "^i.*|" | sed "s/\s//g" | awk -F\| "{print \$2}")
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
zypper -n --gpg-auto-import-keys update && zypper -n install --auto-agree-with-licenses --no-recommends -f $(zypper -n search --installed-only --type package -v | grep "^i.*|" | sed "s/\s//g" | awk -F\| "{print \$2}")
The configuration and uninstallation is complete at this point.