DAMASK installation on Windows Subsystem for Linux (WSL) #85
Unanswered
eisenlohr
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
DAMASK on Windows
Installing Windows Subsystem for Linux (Ubuntu)
Quick method (Windows 11 or Windows 10 ≥ 2021H2)
Open PowerShell (as Administrator) and run:
wsl --install
This will:
After the system reboots, WSL will start Ubuntu and ask you to set a username/password.
Manual method (if
wsl --install
is not available)Enable WSL feature
Enable Virtual Machine Platform
Reboot your PC
Set WSL 2 as default (optional but recommended)
Install a Linux distribution
Go to the Microsoft Store, search for Ubuntu (or Debian, Kali, etc.), and install it.
Alternatively:
💡 Check installation
Opening Ubuntu and installing a virtual environment
Open the Ubuntu app
Enter the following commands:
Setting up a new environment
Enter the following commands:
python3 -m venv damask-venv source damask-venv/bin/activate
Install DAMASK within the virtual environment
Enter the following commands:
Check for proper installation
To check whether the DAMASK grid solver is correctly installed, enter the command:
Accessing Ubuntu files from Windows
Go to Home in Windows Explorer
Enter the following path in the address bar:
Open the Ubuntu Filesystem
Beta Was this translation helpful? Give feedback.
All reactions