reinstall for Debian, Ubuntu and CentOS