# Best way to switch os from Windows to Linux

## post by rashad on Nov 1, 2023

Hello. We ordered two Vector workstations that have windows pre-installed. However, we would like to have a linux distribution installed instead. We are leaning toward RHEL, but Ubuntu would work for us too. Is there a procedure to do something such as this?

## post by markd on Nov 27, 2023

It is pretty straight forward on Ubuntu.

1. For workstations, go to [https://ubuntu.com/tutorials/install-ubuntu-desktop#1-overview](https://ubuntu.com/tutorials/install-ubuntu-desktop#1-overview) this takes you step-by-step through downloading, creating a USB image and installing Ubuntu.
2. Then install [Lambda Stack](/content/lambda-stack-deep-learning-software/index.html):

```bash

wget -nv -O- https://lambdalabs.com/install-lambda-stack.sh | sh -
    sudo reboot
```

If you are running RHEL, just follow RedHats instructions to install RHEL

(or using Rocky or Springdale for free alternatives). And install the NVIDIA Driver, etc.

It will depend on what version of RHEL:

```bash

# As root or with sudo
   yum install podman-docker gcc make kernel-devel yum-utils bash-completion
   yum-config-manager --add-repo
   http://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo
   yum-config-manager --add-repo https://nvidia.github.io/nvidia-docker/centos8/nvidia-docker.repo
   yum install -y epel-release
   yum install -y dkms
   yum module install -y nvidia-driver:latest-dkms
   yum install -y nvidia-container-toolkit

reboot
```
