WSL/Installation

< WSL
Jump to: navigation, search
How to install openSUSE WSL on MS Windows.

Prerequisites

  1. Verify that your version of Windows meets Microsoft's system requirements for WSL.
  2. Enable WSL on MS Windows.

Installation via MS App Store

After the prerequisites have been met:

  1. Click Start menu > Microsoft Store.
  2. Click Search, enter "SUSE", and click 🔎
  3. Click on the distribution you wish to install. The App page will open.
  4. In the App page, click the Install button.
  5. Follow the steps for WSL Initialization below.

WSL initialization

From the Microsoft Initialize WSL Distro page» :

  1. The first time a newly installed distro runs, a Console window will open, and you'll be asked to wait for a minute or two for the installation to complete.
    • During this final stage of installation, the distro's files are de-compressed and stored on your PC, ready for use.
      • This may take around a minute or more depending on the performance of your PC's storage devices.
      • If Windows runs within a virtual machine (e.g. KVM), performance will be further impacted.
    • This initial installation phase is only required when a distro is clean-installed; all future launches should take less than a second.
  1. Once initialization is complete, you'll be prompted to set up a new Linux user account.
    • You will be prompted to create a new user account (and its password).
    • This user account is for the normal non-admin user that you'll be logged-in as by default when launching WSL.
    • You will have the option of making this user the root user (via sudo).
    • You can choose any username and password you wish - they have no bearing on your Windows username.
When you open a new distro instance, you won't be prompted for your password, but if you elevate a process using sudo, you will need to enter your password, so make sure you choose a password you can easily remember!
See the Microsoft WSL User Support page» for more info.

See also

Related articles

External links