first, you should get a list of packages related to the installer wizard. To get the list, run the following command:
sudo dpkg -l |grep foreman
in my environment (ubuntu 12.04 and team leader 1.4), he came back with information including "master", "master installer", "master postgresql", "master proxy" and "rub-master-api".
then we can use apt-get to remove the above packages:
sudo apt-get remove --purge forman sudo apt-get remove --purge forman-proxy sudo apt-get remove --purge ruby-foreman-api
after the above commands, he should remove all packages associated with it. You can run dpkg -l |grep foreman to verify that all packages associated with it have been removed.
Finally, you can remove other unnecessary packages using sudo apt-get autoremove .
some logs and conf folders from the wizard will still remain on your OS, you may need to manually clear them.
source share