restoring the part where we need to install deps

reverting a previous bad merge