If you are simply upgrading an existing community, then disabling the apps/plugins from within the AdminCP of your community should be enough for v5 to work. You will have to make sure the developers of those apps/plugins have updated them to work on v5 before enabling them again, otherwise you will receive a lot of errors and potentially a malfunctioning community.