package manager support to root.sh