Uninstall
It is STRONGLY RECOMMENDED that a final backup is taken prior to uninstalling packagecloud:enterprise.
Once packagecloud:enterprise is uninstalled, your package data will not be recoverable from S3 unless a recent backup was taken.
Begin by taking a backup
sudo packagecloud-ctl backup-all
Next, run the uninstall command
sudo packagecloud-ctl uninstall
Finally, remove the packagecloud software from the machine.
If you are using Ubuntu or Debian, run:
sudo apt-get remove --purge packagecloud
If you are using RedHat, CentOS, or equivalent, run:
sudo yum remove packagecloud