uninstall or removes an installed varnish package itself from Ubuntu
$ sudo apt-get remove varnish
remove varnish and it’s dependent packages which are no longer needed
$ sudo apt-get remove --auto-remove varnish
use with purge options to varnish package all the configuration and dependent packages will be removed
$ sudo apt-get purge varnish
purge options along with auto remove, will be removed everything regarding the package
$ sudo apt-get purge --auto-remove varnish
Email : adityaypi@yahoo.com, Mobile : +91-9555699081