[DISCUSSION] Windows Subsystem for Linux (WSL)

Discussion in 'Windows 10' started by Tito, Jul 30, 2016.

  1. Hadron-Curious

    Hadron-Curious MDL Guru

    Jul 4, 2014
    3,574
    531
    120
  2. moderate

    moderate MDL Guru

    Aug 31, 2009
    2,694
    2,199
    90
    #162 moderate, Mar 25, 2017
    Last edited by a moderator: Apr 20, 2017
  3. moderate

    moderate MDL Guru

    Aug 31, 2009
    2,694
    2,199
    90
  4. dmex

    dmex MDL Junior Member

    Apr 20, 2011
    95
    105
    0
    #165 dmex, Mar 26, 2017
    Last edited by a moderator: Apr 20, 2017
  5. moderate

    moderate MDL Guru

    Aug 31, 2009
    2,694
    2,199
    90
    in one word: smart :))
    thanks again
     
  6. moderate

    moderate MDL Guru

    Aug 31, 2009
    2,694
    2,199
    90
  7. DDoSolitary

    DDoSolitary MDL Novice

    Apr 7, 2017
    8
    15
    0
  8. atplsx

    atplsx MDL Member

    May 11, 2009
    129
    84
    10
    this program only runs compressed tarball archive 16.04 - 14.04 series
    other versions not working (16.10 and newer version )
     
  9. DDoSolitary

    DDoSolitary MDL Novice

    Apr 7, 2017
    8
    15
    0
    #170 DDoSolitary, Apr 8, 2017
    Last edited by a moderator: Apr 20, 2017
    I've updated the README, and added some instructions for installing Ubuntu 16.10 and newer.
    If you think the way provided in the project's wiki too complex, you can also install Ubuntu 16.04 and upgrade to a newer version using
    Code:
    do-release-upgrade
    It is readlly difficult to support other formats of disk images. This program just calls lxrun.exe, which only supports compressed tarballs.
     
  10. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    17,703
    15,825
    340
  11. Hadron-Curious

    Hadron-Curious MDL Guru

    Jul 4, 2014
    3,574
    531
    120
    #173 Hadron-Curious, Apr 13, 2017
    Last edited by a moderator: Apr 20, 2017
    Running that command outputs 'no new release found'. It is clear one needs to manually install any upgrade above the default Xenial.
     
  12. Erik B

    Erik B MDL Junior Member

    Oct 10, 2008
    90
    22
    0
    #174 Erik B, Apr 13, 2017
    Last edited by a moderator: Apr 20, 2017
    First test:
    On my mounted virtual NTFS VHD disk with source files => F:

    Code:
    me@max:~$ cd /mnt/f/dev
    me@max:/mnt/f/dev$ echo ÅÄÖ > ÅÄÖ.TXT
    me@max:/mnt/f/dev$ echo åäö > åäö.txt
    me@max:/mnt/f/dev$ cat åäö.txt
    åäö
    me@max:/mnt/f/dev$ cat ÅÄÖ.TXT
    ÅÄÖ
    Compare with Powershell
    Code:
    PS F:\dev> Get-Content ÅÄÖ.TXT
    ÅÄÖ
    PS F:\dev> Get-Content åäö.txt
    ÅÄÖ
    
    Compare with Cygwin
    Code:
    $ _cd "F:\dev"
    /cygdrive/f/dev
    me@max /cygdrive/f/dev
    $ cat ÅÄÖ.TXT
    ÅÄÖ
    $ cat åäö.txt
    åäö
    
     
  13. Hadron-Curious

    Hadron-Curious MDL Guru

    Jul 4, 2014
    3,574
    531
    120
    It seems launching Windows apps from the terminal is not working. It would request to install any of them when already installed. For example, launching a particular text file with notepad.
     
  14. Erik B

    Erik B MDL Junior Member

    Oct 10, 2008
    90
    22
    0
  15. DDoSolitary

    DDoSolitary MDL Novice

    Apr 7, 2017
    8
    15
    0
    #177 DDoSolitary, Apr 14, 2017
    Last edited: Apr 14, 2017
    Sorry, I didn't explain clearly enough on this.
    Just follow these instructions:
    • Open /etc/update-manager/release-upgrades and change "Prompt=lts" to "Prompt=normal".
    • Run "do-release-upgrade", or "do-release-upgrade -d" if you need development releases.
     
  16. Hadron-Curious

    Hadron-Curious MDL Guru

    Jul 4, 2014
    3,574
    531
    120
    That one worked but took quite some time to install. I now have yakkety.
     
  17. Hadron-Curious

    Hadron-Curious MDL Guru

    Jul 4, 2014
    3,574
    531
    120
    There is one thing I notice in yakkety that it slows the system performance. Xenial is way better when it comes to that in Build 16176 or 16179.
     
  18. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,028
    1,839
    210