How to install Linux SUSE on Microsoft Windows 10? [WSL]

242 views
Skip to first unread message

knud van eeden

unread,
Apr 15, 2024, 12:40:09 PM4/15/24
to SemWare TSE Pro Text Editor
Hi,

FYI

How to install Linux SUSE on Microsoft Windows 10? [WSL]

---

Note: 'WSL' means 'Windows Subsystem for Linux', which is a subsystem of Linux which is stored within your
      Microsoft Windows operating system installation

===

Steps: Overview:

 1. -Search in Microsoft Windows search bar for

      Microsoft Store

 2. -Goto the 'apps'

 3. -Search for

      SUSE

       E.g.

        SUSE Linux Enterprise Server 12 SP5

 4. -Install it (click the 'Get' button)
     You will see 'Downloading...'
     (it will take a little while to install, e.g. 5 to 10 minutes waiting)

 5. -That should install Microsoft Windows WSL + SUSE

 6. -You must the first time click the button 'Launch' to further install it
     'Installing, this may take a few minutes...'
     'Installation successful'

 7. -Optionally visit


      for a free developer description

      Optionally register (can be skipped)

      You can if applicable still register later with this command

       SUSEConnect -r <regcode>

 8. -You must create a user account

      E.g.

       Enter new UNIX username: johndoe

       new password: yourpassword

       Use same password for root user?
       Type "y" to approve, any other key to reject: y
       Default UNIX user set to: johndoe

  9. -Now you should see a Linux SUSE command prompt the first time.
      You might work from there, but I closed it and opened
      a cmd.exe window.

 10. -Check if the Linux distribution is now installed, open a console

      E.g. Microsoft Windows cmd.exe (shows expected TSE colors)

      E.g. JPSoft TakeCommand tcc.exe (but that will give TSE (menu) color issues)

      E.g. Microsoft Windows PowerShell (shows expected TSE colors)

      and type there the commands on the command line

       wsl -l

      (Note: -l here is the must be lower case 'L' as in 'L'ima)

 11. -That shows e.g. already installed programs in WSL:

      Windows Subsystem for Linux Distributions:
       Ubuntu (Default)
       rhel8wsl
       Debian
       SUSE-Linux-Enterprise-Server-12-SP5

 12. -Then open a Linux SUSE prompt

      wsl -d <yourLinuxprogramname>

       E.g.

        wsl -d SUSE-Linux-Enterprise-Server-12-SP5

        (if necessary, copy/paste it)

         That will open after a few minutes waiting a Linux SUSE
         terminal where you can type commands.

13. -Make sure that you have downloaded the latest Semware Linux version e.g. from the link in the email
     and store this on your Microsoft Windows computer.

      E.g.

       tse-linux-4.50-rc19.tgz

        put the file in any (Microsoft Windows) directory

         E.g.

           c:\temp\

14. -Now in your Linux terminal navigate to the 'mnt' folder. That is a pre-defined default folder
     that gives you by design access to your Microsoft Windows file system.

      cd /

      cd mnt

      cd c

      cd temp

15. -As usual use the command (similar to 'dir' in Microsoft Windows)

      ls

     which shows you the content of the current folder

16. -Now unzip the download Semware tgz file with the command

      tar -xzvf <yourfilename>

       E.g.

        tar -xzvf tse-linux-4.50-rc19.tgz

17. -That will create a directory 'tse' with the unzipped files

18. -Navigate to this directory

      cd tse

19. -Optional: You can use the same tse directory (e.g. 'tse')
               for all the same Linux distributions
               e.g. Linux Red Hat, Linux SuSE, Linux SUSE, Linux Ubuntu, ...

20. -Then run the command from the Linux command line
     (e is the Semware executable program on Linux)

      ./e

21. -That will start a TSE version, with a familiar user interface
     as before

       Note: if you run the command line 'wsl' command
             when in JPSoft Take Command (running tcc in there
             or also when running cmd.exe in there you will get
             some typical colors)

             What you should do to get the more usual
             colors is thus open a separate
             cmd.exe window (e.g. by typing cmd
             in the Microsoft Windows search bar
             or running cmd in the Microsoft Windows run box.

22. -To access the menu press <Escape> and enter your menu selection.

23. -Files can be acccessed using the notation

      /mnt/<driveletter>/<directory>/<filename>.<extension>

       E.g.

        /mnt/c/temp/foobar.s

         to access on your Microsoft Windows computer the file

           c:\temp\foobar.s

24. -Note: To open the TSE menu options, press first <ESCAPE>

25. -To exit the Linux command line type

      exit

26. -Tested successfully on
     Microsoft Windows 10 Professional (64 bits) with WSL
     Linux SUSE 

with friendly greeetings
Knud van Eeden
Reply all
Reply to author
Forward
0 new messages