I have installed The Foreman on Ubuntu Server 12.04, following the instructions here:
http://theforeman.org/manuals/1.2/quickstart_guide.html#Installation
I have now decided that it is not for me - but I cannot find any instructions on how to uninstall. The various commands like gem uninstall foreman fail as it seems it was installed as gems.
Any help would be greatly appreciated. Thanks, Cristiano
first, you should get the list about the packages binding with foreman-installer. Run the following command to get the list:
in my environment(ubuntu 12.04 and foreman 1.4), it returned with info including 'foreman', 'foreman-installer', 'foreman-postgresql', 'foreman-proxy' and 'ruby-foreman-api'.
then we can use
apt-get
to remove the above packages out:it should removed all foreman related packages after the above commands. You can run
dpkg -l |grep foreman
to ensure all foreman related packages had been removed.finally, you can remove other no longer required packages by
sudo apt-get autoremove
.some logs and conf folders from foreman will be still remain in your OS, you may have to clean them manually.