[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Bash on Ubuntu on Windows

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 143
Thread images: 20

>actual apt-get support
>don't have to find and run the installer .exe everytime you want to install a package

Is this finally the end of Cygwin?
>>
Not yet. Last time I checked you couldn't
sudo dd if=/dev/zero of=/dev/sda
with it.
>>
It's shit. Can't even run mpd.
>>
File: file.png (368KB, 612x380px) Image search: [Google]
file.png
368KB, 612x380px
>>55971667
>>
AFAIK this runs binaries compiled for Linux using a kernel translation similar to virtualization.

Cygwin runs binaries actually compiled for Windows.

They serve a similar purpose, but LFWSS can't manipulate files in the windows file tree (?)
>>
Is it actually integrated into the OS, or is it essentially just an overglorified virtual machine?
>>
File: 50sn93xgtldx.png (981KB, 1360x768px) Image search: [Google]
50sn93xgtldx.png
981KB, 1360x768px
>>55971679
Then how did this Redditor get ncmpcpp + mpd running on it?

https://www.reddit.com/r/Windows10/comments/4wbr3u/honestly_this_is_the_only_reason_i_installed/
>>
>>55971628
the only reason to use loonix in first place is privacy concerns.

why the fuck would you run loonix inside windows 10 then?
>>
>>55971840
native gcc
>>
>>55971840
If you don't feel like learning powershell.
>>
>>55971840
It's easier to manage a *nix server when you're using a *nix system.
>>
>>55971840
Powershell feels like an absolute trainwreck; I'll go insane trying to learn it and since it only works on one OS, it's not worth the time. Bash is easy and breathable and it's cross-platform.

With this, I can now have muh games, professional apps and a comprehensible and powerful terminal with apt-get all in one.
>>
>>55971722
It's a fully linux usermode subsystem, like Win32. Some calls get translated to Win32 while others are implemented on top of the NT API.
>>
>don't have to find and run the installer .exe everytime you want to install a package
what does that even mean? you dont have to double click on a program icon? why do you need ba$h on windows?
>>
>>55971868
>>55971883
>>55971890
>>55971924
but privacy pham?? If I didnt use OS X (which ships with bash), I d probably go linux + virtual windows
>>
>>55971944
That's neat, thanks.
>>
Has MS finally implemented Lock() yet?

>>55971924
I'm surprised by your powershell comment; my friends and I wish bash was object oriented.
>>
>>55971987
you can type
sudo apt-get install "program name"
to install the program i think. i've never used linux before, but it sounds pretty convenient.
>>
File: cygwin-packages-1.png (47KB, 710x463px) Image search: [Google]
cygwin-packages-1.png
47KB, 710x463px
>>55971987
Cygwin for the most part requires you to rerun the installer program every time you need to install or uninstall a package.

https://cygwin.com/install.html
>>
>>55971628
75% of what I want to do with it doesn't work yet :(
>>
Canonical retards are falling right into microsoft EEE trap
this shit infuriates me
>>
>>55971995
I don't know. I would personally say that Linux is more fidgety about hardware today than it was 5 years ago. Fragmentation is worse, politics are worse, even the hardware vendors can be blamed.

For an actual serious work-related application, a Linux desktop isn't normally feasible. It has to be Linux.

I just wish Apple would open OSX to be retailable and installable anywhere like Windows.

You really don't have to worry about Privacy when you're working. You just want to get the work done in the easiest and most efficient way possible.
>>
Can it run i3 nativly
>>
>>55972056
It would be a dream come true, but would probably be a terrible financial decision on Apple's part.
>>
>>55972038
How exactly do you propose that MS can kill Canonical via a usermode system that doesn't even fully implement the original?
Any proprietary extensions MS could add would only conflict with the far larger Linux market share.

MS is making this move because they pussied out on their android app comparability on Windows phone and pushed the results here as part of their "make up" strategy with devs by open sourcing and adopting environments devs care about.

>>55972108
No, only CLI programs.
>>
>>55971924
they should've just improved jscript, powershell was a mistake
>>
>>55972124
Don't think so. They don't make much on their home computing hardware these days anyway, and OS X being ubiquitous would be a coup for their app store revenues. Of course, their reputation would take a hit as all the esoteric PC configurations would surely make OS X shit a brick and hardware vendors would drag their heels over support (like with Linux)
>>
File: 1339907013092.gif (44KB, 270x199px) Image search: [Google]
1339907013092.gif
44KB, 270x199px
>>55972160
For what reason would you WANT a javascript CLI implementation over a C# one?
>>
>now windows is infected with botnets and linux
It's ogre. Windows is finnish.
>>
File: unity-on-windows-10.png (195KB, 750x468px) Image search: [Google]
unity-on-windows-10.png
195KB, 750x468px
>>55972108
>>55972145
Actually, someone was able to get Unity running on Windows through it. Who knows what's fully possible.

http://www.omgubuntu.co.uk/2016/07/someone-just-installed-unity-windows
>>
>>55972261
The original post on GitHub:

https://github.com/Microsoft/BashOnWindows/issues/637
>>
>>55971720
So it's essentially reverse-WINE?
>>
>>55971840
Different people may like different things buddy, microsoft's monopoly hardly benefits anyone except microsoft.
>>
File: O8lqI6.png (32KB, 800x860px) Image search: [Google]
O8lqI6.png
32KB, 800x860px
i can't connect to any servers with weechat through the bash for windows subsystem, however irssi works fine
>>
guess it's time to get rid of the dual boot crap on my laptop. god grub is awful
>>
>>55972446
Why would you dual boot?
If you need/want both Linux and Windows the best solution is to run Windows and virtualize Linux. Then run Linux in exclusive mode until you need Windows stuff.
>>
>>55971628
The console's still 16-colors (due to a design fault, they need to make a completely new console API to support any better), the font rendering is off, and there's a bug with ANSI special character entry (arrow keys, function keys, etc) which means when the mode switches it's not handled correctly. This is a particular problem when you SSH to something else.

They also need to improve the way it handles filesystem virtualisation.

Not quite there yet for my desktop use. But it's interesting. A later iteration will probably do the trick for me.
>>
>>55972031
75% of what I want to do is illegal
>>
File: images (40).jpg (18KB, 384x384px) Image search: [Google]
images (40).jpg
18KB, 384x384px
>>55972361
Don't you mean Water?
>>
File: zoinks.png (125KB, 325x299px) Image search: [Google]
zoinks.png
125KB, 325x299px
what's the point of this? wouldn't microsoft and the NSA still be watching your every move?
>>
File: linuxbtfo.png (1MB, 1920x1080px) Image search: [Google]
linuxbtfo.png
1MB, 1920x1080px
>>55974769
>2016
>using Linux
have fun opening another tab for your song lyrics
>>
File: lowcualityb8.png (13KB, 622x626px) Image search: [Google]
lowcualityb8.png
13KB, 622x626px
>>55974803
http://niceme.me
>>
>>55974769
Literally to get the non-paranoid dev crowd.
>>
So, how is this any different from Interix?
>>
File: 1469656490556.png (14KB, 166x166px) Image search: [Google]
1469656490556.png
14KB, 166x166px
>>55971628
Yet Emacs can't even run via it because all the windows x servers suck ass forcing you to use windows emacs.
>>
>>55974439
I've found ConEmu works pretty well. Especially for rendering non-Latin glyphs properly and enabling input from IMEs. I don't think its compatibility is as good as PuTTY though.

>>55974890
Interix/SUA was closer to Cygwin. You had to compile everything from source to PE format. WSL actually runs ELF format binaries, so you can use packages straight from the Canonical repositories.
>>
File: IMG_20160716_230604.jpg (36KB, 586x700px) Image search: [Google]
IMG_20160716_230604.jpg
36KB, 586x700px
>>55971790
>windows 10
>reddit
>death grips
>>
>>55974803
>being this much of a normie faggot
this shit should be a crime
>>
>>55975087
that show was probably worst anime ive ever seen
>>
>>55972160
A million times this

>>55972183
He actually means wsh (windows scripting host) which allows you to use native windows (com) apis with multiple languages

Microsoft provides vbscript and javascript but there it nothing stopping you to create other languages that use the native window apis

It's actually rather comfy and works really well in automating Windows. Too bad Microsoft went full retard and created the trainwreck known as powershell based on the stinking shit bomb known as .net

Don't believe the shills, powershell is complete dog shit and makes bash and even wsh look like alien technology
>>
What can you do with this?
>>
>>55971628
>Is this finally the end of Cygwin
No

Cygwin works on all Windows versions
Cygwin is proven technology
You can add cygwin in the %PATH% and use unix tools in cmd or inside native windows program like gvim

BashOnUbuntuOnWindows10 is beta
Windows 10 is supposed to be stable and it's still shit, image how shit this beta is
BashOnUbuntuOnWindows10 is Windows 10 only
Can you use BashOnUbuntuOnWindows10 on a standard cmd prompt? I don't think so
Therefore it's shit
>>
>>55971628
and i am sitting here still using the KSH and Interix+pkgsrc
>>
>>55975360
fork()
>>
There's no hypervisor so it opens up a lot of potential security holes
>>
so, can you at least install apps with it or that doesn't work too?
>>
>>55975047
Oh yes, it's a glorious hack-job. I'm tracking ConEmu's bugs. Something in the new conhost keyboard handling broke it, although it's been partially unbroken in the dev builds. ANSI handling is done by conhost directly now however, and ConEmu won't get you any more colours or fix the underlying keyboard ANSI mode handling bug, which will rear its ugly head upon sshing to another host.

Windows conhost dev team are aware of the ANSI mode bug (which is in base Windows) and they are working on it. 256 colours is an API redesign, but they already optionally broke the old API with the new conhost, so it's fine if it only supports newer apps in 256-color mode. They're also aware of ConEmu and are testing with it.

It's almost like they want developers to be able to use Windows.

Ubuntu 16.04 is coming too, but I think they'll have to wrap some systemd APIs as the init obviously won't work as-is (I'd be surprised if they get enough kernel functions working for cgroup support sufficient to get systemd working natively).

It's a valiant effort, pivoted over from their wildly successful (too-successful for On High) project to run Android apps on Windows phones.
>>
>>55972160
>He actually wants jscript back
kys
>>
>>55972571
This, but with dual monitors. Linux on one, Windows on the other. Best of both worlds.

And use VMWare. Virtualbox sucks balls compared to VMWare.
>>
>>55974803
Who's this semen demon? :D
>>
>>55971628
>don't have to find and run the installer .exe everytime you want to install a package

There was already apt-cyg (or sage) for cygwin ...
>>
>>55975535
You're still stuck in the Cygwin package ghetto.
>>
>>55975360
>Can you use BashOnUbuntuOnWindows10 on a standard cmd prompt? I don't think so

you actually can
>>
Has anyone got WINE running in it? It'd be neat to run old Windows shit on Windows 10.
>>
>>55972403
yep, i get the same thing on weechat
>>
>>55975307
shut the fuck up faggot hibike euphonium was great
>>
File: g.png (31KB, 819x460px) Image search: [Google]
g.png
31KB, 819x460px
what is this shit?
>>
>>55971868
Seriously this, it was the only reason I was dual booting.
>muh games
>muh visual studio
>muh tools
>muh apt-get
>all in one
LINUX BTFOOOOOO
>>
>>55977802
>>muh visual studio
just use vscode.
you are never ever using all the features visual studio offers.
and vscode has the best features you want from visual studio anyways.
its a great middleground between text editor and ide.
>>
>>55971628
Filesystem compatibility isnt finished yet, so files written by Bash may not work/be visible outside and vice versa. It's being worked on.
>>
>>55977958
haha yeah let me just install my nuget packa- oh wait!
well shit, nevermind, let me just compi- oh no!
well, guess I can use this time to debu- shit!
>>
>>55972160
fuck you so much
>>
>>55971790
I have a feeling you are the guy who posted this shit there and here, fuck off.
>>
>>55978008
nuget is a command line utility in the first place theres a vscode plugin for that too.
compiling and building vscode can do also
vscode also has a universal built in debugger api from cpp to pyhton over go you can debug everything you wish. even choose to launch a process or attatch to one.

i really dont see your point here.
its like you never used vscode
>>
>>55971667
YOU ASSHOLE MY HDD IS GONE
>>
>>55978136
the point of an IDE is that the compiler, package manager, debugger, etc are integrated. If I wanted to use a text editor with a shitload of plugins I'd use Sublime or literally anything else that's not a webbrowser running a js app locally.
>>
>>55971720

Google "colinux"


This shit is old as fuck
>>
File: dieoflols.jpg (2KB, 83x125px) Image search: [Google]
dieoflols.jpg
2KB, 83x125px
>>55977802
>ever using visual studio
>>
>>55976148
I don't know. I don't speak lawn mover
>>
>>55971924
>Powershell feels like an absolute trainwreck; I'll go insane trying to learn it and since it only works on one OS, it's not worth the time.
Powershell works with VMware ESXi.

>Bash is easy and breathable and it's cross-platform.
There is a ton of stuff which is Powershell only, see viewing Windows Update log files for example, or pretty much any server management stuff. Go show me a way to setup a fail over cluster via bash.
>>
>>55971628
>don't have to find and run the installer .exe everytime you want to install a package

Ya, now you just need to look up the package name and install command instead, so much simpler! /s
>>
>>55971840
>the only reason to use loonix in first place is privacy concerns.
lol
>>
>>55978174
but the point you implied is you could not do all the things you wanted to do in vscode.
which i proved you wrong.
this has nothing to do what an ide is or not.
>>
>>55978232
Yeah, and if I wanted to I could do all those things in notepad. Doesn't mean that it's a good alternative to a proper IDE.
>>
>>55978210
This is not a good thing.
Things only being available on Powershell is just typical proprietary vendor lock-in.

On GNU/Linux everything is possible from the shell.
>>
>>55978256
Windows Update and things like a file sharing fail over cluster are already proprietary you retard.
>>
>>55978275
>you retard
But they don't want you to interact with it with bash. Not because bash has some imaginary limitation, but because they'd rather you adapt your workflow to their way of doing things so you get used to it and are less likely to change to something else if ever the opportunity arises.

I see this at work all the time.
>but bossman we can use open/free implementations of the same software that get updates in a timelier manner and don't buttfuck us constantly begging for more money
>no anon all our things already work with the current software, it would be a pain to change everything over.

We were looking at going from ESXi/vCenter to oVirt and fuck VMware does NOT want to make it easy for you to change ANYTHING.
>>
This is how the sub system works (design & implementation in details):

https://github.com/ionescu007/lxss
>>
>>55978161
>copying a command line you dont understand
L O L
>>
File: Win XD.png (1MB, 1300x4704px) Image search: [Google]
Win XD.png
1MB, 1300x4704px
>>55971628
>the Big, Fat Mess that is Windows
>slap some linux mumbo-jumbo on top
BRILLIATN!
>>
File: 1310671390981.jpg (6KB, 251x240px) Image search: [Google]
1310671390981.jpg
6KB, 251x240px
>>55974706
Well played, sir. Well played.
>>
>there are actually people that like bash
>they actually think that text parsing is better than using objects
>they actually think coreutils are more powerful than .NET framework
Why even port Linux to Windows if there's no Linux software that haven't been ported already to Windows. Like, I've been using hdparm just recently. Why not.
>>
So is this available on Win10 LTSB N?
>>
>>55972571
This is what I do. Only problem is, windows 10 restarts A LOT. Which means it takes the the linux virtual machine with it.

I think the better solution is to have two separate computers and control both with synergy.
>>
>>55971628
>$CURRENTYEAR
>Being called Chris

Gender neutral names are degenerate
>>
>>55971628
no because nobody uses windows 10

we use windows 7 for windows only crap, and linux for everything else

don't fall for MS's embrace extend extinguish bullshit
>>
Why do they call it Bash on Ubuntu on Windows? What does Ubuntu have to do with any of this? How is this different than running a bash shell on Windows?
>>
>>55971790
Nobody cares

No self respecting person wants to pretend frankenstein windows with a bash shell is cool

We get it 2016 and powershell sucks but no thanks.
>>
>>55978843
MS is fucking Canonical in this somehow.
>>
>>55971667
Nice one XD
>>
>>55978779
>I dont know how to setup shutdown scripts
>>
>>55978421
reverse wine is juice retard
>>
File: 1464212323959.jpg (581KB, 1003x998px) Image search: [Google]
1464212323959.jpg
581KB, 1003x998px
>>55971628
does wine work on it?
>>
>>55971667
shitt im a total noob but even i know what that does, good job annon!
>>
>>55976144
it's great so you have shove it down everyones throats right
>>
>>55979374
it's bad so you have to shove it down everyones throat right
>>
>>55978174
>a webbrowser running a js app locally
I hate how many applications have become this.
>>
>>55975087
Death Grips are awesome
>>
>>55978380
>Fresh CS undergrad can't get a job at Google
>Microsoft is the only place that will take him
>He's soon let go for being a typical /g/ retard
>Goes onto IRC to shit talk his former employer
Pure speculation of course (just like all those Windows 10 rumors).
>>
>>55972017
Install Gentoo
>>
>>55975465
It's kind of hilarious. Microsoft can't dominate the market with their shit products, so they just port/emulate/blah the successful things to run on their platform.
>>
There's no need for linux anymore. You can use Ubuntu on Win10 now. You can use X for GUI programs, and you still get your games all on one OS. Windows 10 is my dream OS.
>>
>>55977802
>visual studio
>having to install +15GB of bloat so you can compile stuff
>>
>>55979976
>15gb
>>
File: 1466351034742.jpg (307KB, 1916x1080px) Image search: [Google]
1466351034742.jpg
307KB, 1916x1080px
>>55978161
>My computer stopped working after running this.
>What does it do X-----D

JUST
>>
>>55971667
does this actually work on bash for windows?
>>
>>55978210
>VMware
>Windows Update log
>cluster of windows machine
what a shit job anon, I hope you are being paid well
>>
>>55971840
>this is what /g/ """""""""""""""""""""""""""""""""""""""""""""""""""programmers"""""""""""""""""""""""""""""""""" believe


it's the unix, terminal, C/C++ stuff. not privacy, kid. I'm not an autist pedo, I don't need to hide away anything.
>>
>>55979976
>space is an issue in current year
>>
>>55978843
It runs native GNU bash, in a native Ubuntu 14.04 userland (except use and init - soon to be 16.04), on Windows using NT picoprocesses - not a hypervisor - with a shim driver translating Linux kernel syscalls into native NT calls (some directly via internal NT functionality, such as fork() or pipes, some via normal published kernel APIs such as the filesystem).

Think of it as kernel-level WINE. Actually, the opposite of ReactOS would be a better description. It's already far more complete than the old Interix NT subsystem was, because this includes native binary ELF support.

Bash on Ubuntu on Windows is an accurate description, but it is a mouthful. WSL - Windows Subsystem for Linux - is a snappier name. GNU/Windows would actually be an appropriate description too, although you could also give that name to MSYS (cross-compiling) or Cygwin (cross-compiling with an inferior user-space shim DLL).
>>
>>55971628
APT-GET
P
T
-
G
E
T

LMAO
M
A
O
>>
>>55978950
Elaborate.
How would that even help?
>>
>people dont realize this is primarily for devs only
>not fucking neets with absolutely zero career goals paranoid microshit is going to take away their anime
>>
>>55971628
I'd just like to interject for a moment. What you’re referring to as Bash on Ubuntu on Windows, is in fact, GNU/Windows, or as I’ve recently taken to calling it, GNU plus Windows.

Joking aside this is fucking fantastic. I just wish they hurry up with the 16.04 upgrade so I can just
apt install screenfetch
for shitposting.
>>
>>55979799
nice meme
>>
>>55975047
that's fucking golden, they are testing ConEmu to try to make bash less shit. ConEmu it's a hackjob, as much as I use it or like it they need to re do a lot of the shit for you to not wierd errors when you use your windows machine to ssh into something.
>>
>>55980261
yes
>>
>>55971924

Powershell is a different approach to a shell than what bash is. It works with objects not text, which makes a lot of things easier. The syntax, though sometimes a bit verbose, makes sense. Powershell also allows you to call .NET to include extra functionality in your scripts. This makes it a very powerful tool. Additionally, in my opinion it has less archaic conventions and gotchas that bash is full of. Both shells have their merits though, and I use both regularly.
>>
>>55982708
powershell also does error handling with exceptions, which can just cause a fucking stream of exceptions to pour out of your program if you made a typo.
>>
>>55978352
>>55980236
>taking obvious bait
>>
>>55982428
What you're calling GNU/Windows is actually NSA/GNU/Windows or as I've recently taken to calling it NSA plus GNU plus Windows.
>>
>>55978161
wouldn't surprise me if a windows user did that

they are dumb as fuck lmoa
>>
>>55983334
please leave
>>
>>55982708
>>55983005
Too bad it doesn't use an existing programming language as its base instead of a bullshit made up one with shell style calling conventions.
>>
>>55971667
>not
sudo dd if=/dev/zero of=/dev/sd*

Newfag detected
>>
>>55983005

I'd prefer it to fail loudly and as verbose as possible, than give me a cryptic error message - as bash is known to do.
>>
>>55983583
It's been several years since I last worked with powershell, but I recall a syntax or semantic error in a loop being printed for every iteration of the loop, without the program stopping. That's a bit much.

They often provide no useful information, apart from a massive stack trace.
>>
>>55976148
spanish
>>
Is there a way to get the dbus working? I need a dbus for some of my applications and it doens't seem to work.
>>
File: Screenshot_20160808-151222.png (1MB, 2560x1600px) Image search: [Google]
Screenshot_20160808-151222.png
1MB, 2560x1600px
This is literally Android on Windows renamed
>>
>>55983900
What's your point? Android is a linux kernel at its heart with a Java fronend that we don't have.
>>
>>55978557
No. Although, unsure if it will be in the october update or not.
>>
>>55978380
It literally reminds me of Warhammer 40K, where nobody knows how the hell some technology works, its knowledge lost to time.
Thread posts: 143
Thread images: 20


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.