Andy Melnikov (nponeccop) wrote,
Andy Melnikov
nponeccop

NT kernel subsystem for Linux aka Canonical Ubuntu on Windows

Выглядит вот так:
C:\Users\pc>bash
-- Beta feature --
This will install Ubuntu on Windows, distributed by Canonical
and licensed under its terms available here:
https://aka.ms/uowterms

In order to use this feature you must have Developer Mode enabled.

C:\Users\pc>bash
-- Beta feature --
This will install Ubuntu on Windows, distributed by Canonical
and licensed under its terms available here:
https://aka.ms/uowterms

Type "y" to continue: y
Downloading from the Windows Store... 1%
Требует включения девмода и галки в Windows Features. После чего указываешь юзера, логин-пасс и он создается с судо-привилегиями.

Дальше с судо apt-get install ghc, и ставится какое-то старьё и рухлядь 7.6.3, которое благополучно падает:
foo@BAR:/mnt/c/Users/pc$ ghc
ghc: timer_create: Function not implemented
Но греп вот работает прекрасно с виндофайликами из /mnt/c. По идее греп родной убунтушный.
foo@BAR:/mnt/c/Users/pc$ md5sum /bin/grep
7e1187a6998861a44be81cebfd36dfd1  /bin/grep
foo@BAR:/mnt/c/Users/pc$ objdump -T /bin/grep

/bin/grep:     file format elf64-x86-64

DYNAMIC SYMBOL TABLE:
0000000000000000      DF *UND*  0000000000000000  GLIBC_2.3   __ctype_toupper_loc
0000000000000000      DF *UND*  0000000000000000  GLIBC_2.2.5 __uflow
0000000000000000      DF *UND*  0000000000000000  GLIBC_2.2.5 getenv
0000000000000000      DF *UND*  0000000000000000  GLIBC_2.2.5 strcasecmp
0000000000000000      DF *UND*  0000000000000000  GLIBC_2.2.5 abort
0000000000000000      DF *UND*  0000000000000000  GLIBC_2.2.5 re_match
0000000000000000      DF *UND*  0000000000000000  GLIBC_2.2.5 __errno_location
...
Upd: sudo apt-get upgrade выдает штуковины вроде:
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of start.
Subscribe

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 8 comments