There are several way to remove cairo-dock depending on which method you used to install it in the first place.
So if you are sure you want to delete cairo-dock please choose a method below:
Ubuntu From the repository Open Synaptic search for cairo-dock and untick both cairo-dock and cairo-dock-plug-ins or from a terminal:
sudo apt-get purge cairo-dock cairo-dock-plug-ins && sudo apt-get autoremove
From the package
If you want to keep the configuration files:
sudo dpkg -r cairo-dock-plug-ins_++version++
sudo dpkg -r cairo-dock_++version++
If you want to completely remove the dock including the configuration files:
sudo dpkg -P cairo-dock-plug-ins_++version++
sudo dpkg -P cairo-dock_++version++
The –force-all and –purge option are to force the de-installation of a package as well as its configuration file:
sudo dpkg --force-all --purge package_name
note
This last command is useful, but risky, if you want to completely remove a package as well as its dependencies and its configuration files when the normal apt method if failing.
From the compilation There is no easy way to remove it when you compiled it. You have to go to the directory where you extracted the source and uninstall section after the other...
cd ++path_of_source_code++
cd cairo-dock
sudo make uninstall
cd ../'name_of_plugin'
sudo make uninstall
(repeat for all the plugins) |