system check and install packages