T

Windows 11/10 වල WSL2 Install කරන ආකාරය

41 views · updated 2026-07-01 · published 2026-07-01 · by Hasarinda Manjula · Download Center Reading time: 2 min English සිංහල

Overview

WSL2 එකෙන් real Linux kernel එකක් සහ distributions Windows එකේ directly run කරන්න දෙනවා — WSL1 එකට වඩා හොඳ performance එක්ක. මේ guide එකෙන් modern සහ පරණ Windows වල WSL2 install කරන ආකාරය, kernel update කරන ආකාරය, සහ distros manage කරන ආකාරය cover කරනවා.

Windows 11 සහ 10 වල WSL2.

Key Takeaways

  • Windows 11 / Windows 10 2004+ වල, "wsl --install" එකෙන් හැම දේම කරනවා.
  • WSL2 වඩා හොඳ speed සහ compatibility වලට real Linux kernel එකක් පාවිච්චි කරනවා.
  • පරණ Windows 10 වලට features manually enable කරන්න ඕන.
  • Distros කිහිපයක් install, switch, remove කරන්න පුළුවන්.

WSL2 Install කරන්න (Windows 11 / Windows 10 2004+)

1. PowerShell හෝ Terminal එක administrator විදිහට open කරන්න.

2. Run: wsl --install

3. මේකෙන් required features enable කරලා default විදිහට Ubuntu install කරනවා.

4. Prompt වුණාම restart කරන්න.

5. First launch එකේදී, Linux username එකයි password එකයි set කරන්න.

How to Install Windows Subsystem for Linux 2 (WSL2) on Windows 11 and 10

ඔබේ Linux username එකයි password එකයි configure කරන්න.

WSL2 Install කරන්න (Windows 10 1909 හෝ පරණ)

1. PowerShell (admin) එකේ features enable කරන්න: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

2. සහ: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

3. PC එක restart කරන්න.

4. Microsoft's official site එකෙන් WSL2 Linux kernel update එක download කරලා install කරන්න.

5. WSL2 default කරන්න: wsl --set-default-version 2

6. Microsoft Store එකෙන් distro එකක් install කරන්න.

How to Install Windows Subsystem for Linux 2 (WSL2) on Windows 11 and 10

PowerShell එකෙන් required features enable කරන්න.

Linux Kernel එක Update කරන්න

1. Run: wsl --update

2. ඕන නම් status check කරන්න: wsl --status

3. WSL restart කරන්න: wsl --shutdown

Distros Manage කරන්න

1. Installed distros list කරන්න: wsl --list --verbose

2. Default එකක් set කරන්න: wsl --set-default <DistroName>

3. Specific distro එකක් run කරන්න: wsl -d <DistroName>

4. Distro එකක version එක set කරන්න: wsl --set-version <DistroName> 2

How to Install Windows Subsystem for Linux 2 (WSL2) on Windows 11 and 10

Default WSL distro එක වෙනස් කරන්න.

Distro එකක් Uninstall කරන්න

1. Unregister/remove: wsl --unregister <DistroName>

2. නැත්නම් Settings > Apps වලින් distro app එක uninstall කරන්න.

3. WSL එකම remove කරන්න, Optional Features එකේ Windows features off කරන්න.

How to Install Windows Subsystem for Linux 2 (WSL2) on Windows 11 and 10

Linux distro එකක් uninstall කරන්න.

Troubleshooting

Problem: "wsl --install" recognised නෑ.

Solution: Windows update කරන්න, නැත්නම් පරණ builds වලට manual feature-enable steps පාවිච්චි කරන්න.

Problem: "WSL 2 requires an update to its kernel component".

Solution: wsl --update run කරන්න, නැත්නම් Microsoft's official site එකෙන් kernel update package එක install කරන්න.

Problem: Virtualization error.

Solution: BIOS/UEFI එකේ virtualization (VT-x/AMD-V) enable කරලා, Virtual Machine Platform feature එක on කියලා බලන්න.

Problem: Distro එකක් WSL1 එකේ stuck.

Solution: wsl --set-version <DistroName> 2 එකෙන් convert කරන්න.

Conclusion

Modern Windows වල, "wsl --install" එකෙන් එක command එකකින් WSL2 set කරනවා; පරණ builds වලට features කිහිපයකුයි kernel update එකයි ඕන විතරයි. Install වුණාම, Linux distros ලේසියෙන් run, switch, remove කරන්න පුළුවන් — Windows ඇතුළේම powerful Linux environment එකක්.

About TechHub

මේ guide එක TechHub Knowledge Base එකේ කොටසක්. තව step-by-step IT guides සහ support වලට techhub.com.lk එකට යන්න.

Thanks for your feedback! 🙌

Read more

TechHub Assistant
Online · AI assistant
Thinking
⬇ Downloads 📦 Orders 🛒 Buy License 🎫 Create Ticket 🙋 Contact
AI-generated · may be inaccurate. Talk to a human