Install multiple cuda versions and switch between them

Verified on 2024-2-1.