combine tasks for package installation  and make them more simple