In Windows a reboot is usually required to clean up what is left behind during installation of software (temp files, etc...)
in Linux i found you can do this
sudo ldconfig && sudo dpkg --configure -a && sudo apt-get clean
if you are logged in as root, leave out the sudo.