remove unnecessary installation packages.