From 178d9165d6db1884ab3550666c04e60e78ae7161 Mon Sep 17 00:00:00 2001 From: Taurean Dyer <46935140+taureandyernv@users.noreply.github.com> Date: Thu, 30 Jan 2025 03:47:56 -0800 Subject: [PATCH] made the install command for WSL2 copy and paste-able --- install/index.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install/index.md b/install/index.md index 5adf8a3c278..404e99d932c 100644 --- a/install/index.md +++ b/install/index.md @@ -336,10 +336,11 @@ Windows users can now tap into GPU accelerated data science on their local machi wsl --install -d Ubuntu-24.04 ``` This will install and start Ubuntu in your Windows host system using WSL2. Make your **sudo** password memorable as you will need it in the next two steps. -4. Install and run SDK Manager inside Ubuntu by pasting this into your command line. You will have to enter the sudo password you created when you installed Ubuntu and also change folder location to match your home directory in Windows (if you don't know it, open PowerShell, type `$HOME`, and hit enter). +4. Install and run SDK Manager inside Ubuntu by pasting this into your command line. This command will navigate to your Windows users's `Downloads` folder, from your WSL2 instance, and install the latest SDK Manager `.deb` file that you had downloaded. You will have to enter the sudo password you created when you installed Ubuntu. ```bash sudo apt update && sudo apt install wslu -y -sudo apt install /mnt/c/Users/[YOUR HOME DIRECTORY ON WINDOWS]/Downloads/sdkmanager_[version]-[build#]_amd64.deb -y +cd "$(wslpath -au "$(cmd.exe /c 'echo %USERPROFILE%' | tr -d '\r')")/Downloads" +sudo apt install "$(ls -t ./sdkmanager_*_amd64.deb | head -n 1)" -y sdkmanager ``` 5. Sign in when asked, and [follow SDK Manager's RAPIDS installation instructions here](https://docs.nvidia.com/sdk-manager/install-with-sdkm-rapids/index.html){: target="_blank"}.