Ubuntu – How to remove a dock from Plank

dockplankuninstall

I wanted to move the launcher to the bottom and have it aligned in the center, so I downloaded Plank. I didn't like it so I uninstalled it but the dock still appears when I move the cursor to the bottom of the screen.

Already tried to remove:

sudo apt-get remove plank

purged it

sudo apt-get purge plank

removed dependencies

sudo apt-get remove --auto-remove plank

removed all files from /usr/share/app-install/desktop and /var/cache/archives/, and the dock still shows. So how do I remove it totally?

Thanks

Best Answer

Uninstall plank
To remove just plank package itself from Ubuntu 16.04 (Xenial Xerus) execute on terminal:
sudo apt-get remove plank

Uninstall plank and it's dependent packages
To remove the plank package and any other dependant package which are no longer needed from Ubuntu Xenial.
sudo apt-get remove --auto-remove plank

Purging plank
If you also want to delete configuration and/or data files of plank from Ubuntu Xenial then this will work:

sudo apt-get purge plank

To delete configuration and/or data files of plank and it's dependencies from Ubuntu Xenial then execute:

sudo apt-get purge --auto-remove plank

Source: Here

Related Question