If you'd prefer not to have to type a password to execute commands as root with sudo

Edit the /etc/sudoers
#visudo
or
#vi /etc/sudoers

add a line for your user in this case mine is "chris"

chris ALL=(root) NOPASSWD: ALL

:qw
#

By default "apt-get remove package" doesn't purge everything related to the package. This eventually means that a log of configuration files are left scattered around the place with no corresponding packages. A couple of weeks ago, the following solution was proposed on #linux:

dpkg --purge `dpkg --get-selections | grep deinstall | cut -f1`

Syndicate content