TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Linux'izing your Windows PC into a dev machine

182 点作者 ChopSticksPlz超过 7 年前

37 条评论

2T1Qka0rEiPr超过 7 年前
I use WSL from time to time on my personal laptop, and the reason is this: I think Windows is still superior to any Linux flavour for doing &quot;leisure&quot; things like watching VoD, or playing games (not that I do any more).<p>This isn&#x27;t a dig at Linux it&#x27;s simply that we still have lazy content creators using things such as Silverlight to provide content. These applications &quot;just work&quot; on Windows, and when they are at all possible on Linux, they tend to require a lot of manual effort and simply aren&#x27;t as good as the Windows solutions (Google Drive, Spotify, VPN applications etc.).<p>I also use my personal laptop for dev, and as I&#x27;m an OSS-stack developer, I use Linux. Having the ability to run Linux natively on Windows is superb, and is genuinely usable for work purposes for the most part.<p>The article doesn&#x27;t capture a few other bugbears with WSL. The file system is slooooooow (really slow), quite a few applications just flat-out don&#x27;t work, and others are buggy as hell (psql e.g.). Would I use it in a serious work capacity daily? No - but I&#x27;m certainly appreciative that I <i>can</i> use it and it works pretty well 95% of the time.
评论 #16353811 未加载
评论 #16353635 未加载
评论 #16353430 未加载
评论 #16353810 未加载
morganvachon超过 7 年前
I&#x27;ve always gotten by (both before and after WSL) with a Slackware install running under VirtualBox on a Windows host. It goes something like this:<p>Install VirtualBox, create a Linux VM instance and configure for at least 2GB RAM, 3D video acceleration, 128MB of video RAM, and at least 20GB of storage. DO NOT choose EFI or any other fancy&#x2F;experimental features; the reason we&#x27;re using Slackware is because it is dead simple and bulletproof in its default configuration, and doesn&#x27;t need any of that mess.<p>Install Slackware on the VM instance (I prefer Xfce desktop as it integrates well with Windows in Seamless mode but use what suits you if you find another is better).<p>If using Xfce: Remove the bottom panel but keep the top panel, and configure it to your liking. If using KDE you may wish to move the bottom panel to the top edge.<p>Install the Guest Additions for Linux.<p>Activate Seamless mode, you&#x27;ll find that your Linux desktop sits as a layer on your Windows desktop. If you use Xfce, your top panel will be at the top of the screen and will by default float behind any Windows-native windows. This allows you to keep both OSes running all the time and switch back and forth as necessary. Optional: Install the Numix GTK themes and Numix icon themes available from slackbuilds.org for a more Windows 10-esque look and feel in your Linux native apps.<p>Again, the reason I use Slackware for this (besides my nearly two decades of familiarity with it) is because it is simple, stable, and stays out of the way. You don&#x27;t need any experimental VM features; it&#x27;s pretty much pure Linux. That said, something like Alpine or Arch may be more suitable depending on your workflow, and they both are also simple and VM-friendly distros. Alpine in particular is designed to integrate with VM and container setups with minimal fuss.
评论 #16353240 未加载
mncharity超过 7 年前
Just a reminder, that <i>embrace, extend, and exterminate</i> (aka <i>extinguish</i>) was <i>both</i> an anti-competitive strategy with collateral damage to society, <i>and</i> simply acting with normal self-interest to help customers.<p>Even if one believes a post-Gates&#x2F;Ballmer&#x2F;Myhrvold Microsoft no longer behaves illegally&#x2F;unethically, one can still look forward to an embrace being followed by extension and extinguishing. Because that&#x27;s how the incentives play out.<p>Embrace: Of course we want to give our users the best, even when some of that originated elsewhere.<p>Extend: We&#x27;re not going to hold back our users by waiting on slow-moving standards bodies - often slowed by our competitors. Helping competitors isn&#x27;t a priority for us. And the wellbeing of those <i>few</i> people who aren&#x27;t our users, is understandably also not a high priority for us.<p>Exterminate: Why should we expend any effort at all towards keeping competitors viable? Why shouldn&#x27;t we actively help potential customers join us? Why should we prioritize resources to helping a few disgruntled ones leave? Why shouldn&#x27;t we fully monetize our intellectual property, both directly, and through affiliated third-parties like Intellectual Ventures?<p>Microsoft failed on phones, but VR&#x2F;AR is coming, and it will transform the market for phones, laptops, and desktops. Once upon a time Microsoft created Windows-only web extensions. Now Mozilla writes them for it. <i>Windows Everywhere</i> may still happen. And &quot;you can use Linux inside of Windows&quot; is a big step towards that. It&#x27;s not clear that&#x27;s something to be happy about.
评论 #16357486 未加载
skrebbel超过 7 年前
This is a great article, and I want to add that it&#x27;s perfectly possible for a Windows PC to be a great dev machine without Linuxizing it.<p>Terminal emulators like Hyper or ConEmu (mentioned in the article) work great without WSL as well. Git&#x27;s Windows build comes with bash and most coreutils built-in, so if your colleagues filled your npm scripts with sh scripts, there&#x27;s a fair chance they&#x27;ll &quot;just work&quot;. Scoop [0] is a fantastic no-nonsense &quot;apt install&quot; like tool, which is leaner and less in the way than the better known Chocolatey Nuget. Obviously, VS Code, Atom, Sublime Text and the entire Jetbrains Suite all work fantastic on Windows.<p>Finally I&#x27;d like to recommend Git Extensions [1] if you like using Git with a UI. It&#x27;s the best Git UI I&#x27;ve come across and it&#x27;s native to Windows. It has a funny name because it started out as a set of extensions for Visual Studio but it has little to do with that anymore.<p>I&#x27;d like to particularly commend the Node ecosystem for making cross platform dev a breeze. The last few little details that don&#x27;t work the same in Windows as they do on Linux&#x2F;macOS (even if you have Git&#x27;s okay-ish sh&#x2F;coreutils tools in your PATH) are very easily bridged with tools like cross-env [2] and shelljs&#x2F;shx [3].<p>Note: not disagreeing with anything in this article - if you want a Linux with a nice shell, Windows is a pretty decent option these days. I just want to point out that it&#x27;s also a pretty decent option these days <i>without</i> WSL, and share some pointers on how to get started.<p>[0] <a href="http:&#x2F;&#x2F;scoop.sh&#x2F;" rel="nofollow">http:&#x2F;&#x2F;scoop.sh&#x2F;</a><p>[1] <a href="http:&#x2F;&#x2F;gitextensions.github.io&#x2F;" rel="nofollow">http:&#x2F;&#x2F;gitextensions.github.io&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;kentcdodds&#x2F;cross-env" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kentcdodds&#x2F;cross-env</a><p>[3] <a href="https:&#x2F;&#x2F;github.com&#x2F;shelljs&#x2F;shx" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;shelljs&#x2F;shx</a>
Symbiote超过 7 年前
This should be a last resort.<p>We build upon so much open souce software - Linux, GNU, compilers, editors, servers, and hundreds of libraries.<p>I use KDE on Ubuntu, and on the rare occasion that it is lacking, a bug report or a patch helps the whole community. All the users, in Ubuntu&#x27;s statistics, help the KDE developers feel they&#x27;re doing something worthwhile.<p>Running Windows and perhaps improving tooling on Windows helps Microsoft, something I refuse to do.<p>(Equally, I will correct Open Street Map, but not Google Maps.)
评论 #16354091 未加载
评论 #16353944 未加载
JosephRedfern超过 7 年前
A nice overview! I tried moving to W10 w&#x2F; WSL last August, and for the most part it was great, but the then lack of what I&#x27;d call &quot;decent&quot; terminal emulators was the deal breaker for me back then. Things might be better now.<p>I want the following &quot;features&quot; from a terminal emulator:<p><pre><code> * Tab support * Support for more demanding applications (like tmux and other curses based applications) * Sensible defaults * Reasonably clean UI * Open Source </code></pre> I refuse to run an electron app as a terminal emulator. It might suit others, but it&#x27;s really not for me. I have concerns over battery life, memory usage, performance and security.<p>Going through Łukasz&#x27;s suggestions:<p><pre><code> * Hyper -- Not tried this, but: electron based, non-starter. * Babun -- Not tried this, but: no tab support. * Cmder -- Tried this, No tab support, I found it a little glitchy under tmux. * ConEmu -- Tried this, support tabs... but I found that a lot of configuration was required, the UI (at least of the the box) was cluttered, and also found it to be glitchy under tmux. * MobaXterm -- Closed source, cluttered UI (for my needs). </code></pre> Maybe I&#x27;m too picky.<p>I hadn&#x27;t tried running a Linux native terminal under WSL, but will give it a go soon -- I hope it doesn&#x27;t make everything ugly!
评论 #16353786 未加载
评论 #16353281 未加载
评论 #16353404 未加载
评论 #16354556 未加载
评论 #16358078 未加载
评论 #16353553 未加载
icc97超过 7 年前
I still don&#x27;t understand the fear of the Windows dos prompt. In the terminal section [0] he suggests Hyper:<p>&gt; it is an Electron based app and it’s a bit sluggish but works well, scales well and looks like it’s 2018.<p>Electron? Would anyone in the Linux world accept an Electron prompt?<p>All you need is Git + clink [1] and you get a ton of GNU tools + readline&#x2F;history. Then it&#x27;s as fast as possible and you get sharper and clearer fonts than all the other pseudo windows terminals. This is the stuff that&#x27;s really important to me.<p>I couldn&#x27;t get console to handle vim colours (although 32-bit colours is supposed to be there now) which is a real shame. Plus certainly there&#x27;s no bold &#x2F; italic.<p>[0]: <a href="https:&#x2F;&#x2F;cepa.io&#x2F;2018&#x2F;02&#x2F;10&#x2F;linuxizing-your-windows-pc-part1&#x2F;#getting-terminal" rel="nofollow">https:&#x2F;&#x2F;cepa.io&#x2F;2018&#x2F;02&#x2F;10&#x2F;linuxizing-your-windows-pc-part1&#x2F;...</a><p>[1]: <a href="https:&#x2F;&#x2F;ianchanning.wordpress.com&#x2F;2014&#x2F;10&#x2F;29&#x2F;dos-command-history&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ianchanning.wordpress.com&#x2F;2014&#x2F;10&#x2F;29&#x2F;dos-command-his...</a>
JupiterMoon超过 7 年前
I don&#x27;t get it. If you are doing Linux dev - why not just run Linux?
评论 #16353166 未加载
评论 #16353287 未加载
评论 #16353129 未加载
评论 #16353149 未加载
评论 #16359596 未加载
评论 #16353887 未加载
评论 #16353191 未加载
评论 #16353209 未加载
rufugee超过 7 年前
I&#x27;ve tried to use Windows in the past, but always had that unsettling feeling that I was a mistake or two from being compromised in some way. It doesn&#x27;t help that I had locked my wife&#x27;s Windows (8 at the time) machine down as tightly as I could figure out how to (antivirus, etc), and she still managed to get an ad&#x2F;malware infection. For those of you comfortable in this platform, what steps do you take to protect yourself?
评论 #16353993 未加载
评论 #16354304 未加载
评论 #16353946 未加载
评论 #16353824 未加载
评论 #16354100 未加载
nickjj超过 7 年前
I use a similar set up and wrote about it a while ago too.<p>One thing you may want to consider doing is mount your drives in WSL so that Docker volumes work. With your current set up, none of your volumes would work.<p>Details on how to do that can be found on:<p><a href="https:&#x2F;&#x2F;nickjanetakis.com&#x2F;blog&#x2F;setting-up-docker-for-windows-and-wsl-to-work-flawlessly#ensure-volume-mounts-work" rel="nofollow">https:&#x2F;&#x2F;nickjanetakis.com&#x2F;blog&#x2F;setting-up-docker-for-windows...</a><p>Also, in case anyone is wondering &quot;why not just use a VM&quot;? I did for ~5 years but the WSL set up is a lot nicer for day to day development.<p>Detailed on the VM set up vs WSL can be found on:<p><a href="https:&#x2F;&#x2F;nickjanetakis.com&#x2F;blog&#x2F;using-wsl-and-mobaxterm-to-create-a-linux-dev-environment-on-windows" rel="nofollow">https:&#x2F;&#x2F;nickjanetakis.com&#x2F;blog&#x2F;using-wsl-and-mobaxterm-to-cr...</a><p>With the above WSL set up, the development performance is pretty nice I must say. Around 250kb of SCSS runs through a fully Dockerized webpack chain (sass-loader, precss, autoprefixer, css-loader) in 1.8 seconds and live reload works. I haven&#x27;t even began to try and optimize it with fast-sass-loader and other tweaks. I&#x27;m also using the stock node-sass package.<p>15k+ line Rails apps with 75+ gems also reload in under 100ms for code changes (non-assets).
Sylos超过 7 年前
Was hoping this would be about porting some of the features from desktop Linux over to Windows. I have to use Windows at work and it feels like I&#x27;m missing an arm everytime.<p>Mainly because Windows doesn&#x27;t allow keyboard shortcuts to be rebound and the defaults often require two hands, which with the mouse normally in my second hand is really annoying and not particularly fast.<p>Other things I&#x27;d like:<p>- Ability to bind clicking the left and right mouse button together to middle mouse click (allows you to just click in the middle on laptop touchpads).<p>- Tabs in the file manager.<p>- Workspaces, in a usable form. Windows 7 doesn&#x27;t have them and it&#x27;s not legal for us to use Windows 10 on anything that&#x27;s connected to the internet. And when I do use Windows 10 &#x2F; Server 2016 in isolated playground VMs, then its implementation makes me feel like some old person who forgets about applications that they have open, because there&#x27;s no indication of other workspaces existing, nor the applications in them. The shortcut for switching between workspaces being one of those two-hand-shortcuts also means that checking workspaces to see what&#x27;s in them is not viable.<p>- A functioning search. I do not understand how you manage to make basic system search as broken as it is on Windows.<p>- The dream would be a tiling window mmanager and an actual functional terminal.<p>I know, this is not achievable without third party software, which I can&#x27;t really install for security reasons, so yeah, this is unfortunately a pipe dream.
评论 #16354113 未加载
cube2222超过 7 年前
I&#x27;ve been developing for deployment on Linux and using Windows for quite a while and with Docker, WSL and powershell it&#x27;s been quite great!<p>Why not use pure linux? First, I like when my OS just works, without having to fix something frequently (that was my experience when using linux, both ubuntu and fedora). Better hardware compatibility too. Second one is that I use a surface device on which I like to write or sketch using the pen frequently.
评论 #16354033 未加载
评论 #16354595 未加载
walshemj超过 7 年前
Why do you need to do this!<p>1 Use X Windows or ssh&#x2F;telnet to connect to your real development system and work on there.<p>2 Just use Hyper V install a VM that is exactly the same as you target environment.<p>Developing locally on a different operating system is just adding a whole other set of risks you don&#x27;t need
评论 #16353253 未加载
Someone1234超过 7 年前
I wonder if Microsoft is working on a replacement for cmd? They added a few welcome and useful features, but it still remains a pretty antiquated shell.<p>Even for Powershell users the thing is painful. Bash for the Linux Subsystem is just another reason&#x2F;justification for a refresh.<p>I&#x27;m aware of the third party options (as listed in this article), but third party software isn&#x27;t always easy to deploy for political&#x2F;policy reasons in enterprise or government.<p>I definitely think the cmd is a boat anchor around the Linux Subsystem&#x27;s neck either way.
评论 #16354549 未加载
评论 #16354512 未加载
评论 #16364917 未加载
Philipp__超过 7 年前
The thing is, Windows 10 could be usable OS if Microsoft approached it from different angle. Now there is no way in hell I am using standard version as it is of right now, installed it on my father&#x27;s PC few weeks ago, and it was installing updates and forcing default bowser by itself. What the hell?! I tried Server in VM next week and it seemed better. For .NET and some graphics stuff, Windows is logical solution. For everything else, leave me on Unix (Always BSDs over Linux If I may :)).
评论 #16358343 未加载
joezydeco超过 7 年前
I spend all day working with Yocto-generated arm-gcc crosstools, and it crashes and burns on WSL. There are supposed workarounds, but for now I&#x27;m sticking to Virtualbox.
DuskStar超过 7 年前
While I do agree that the Docker setup method in the post is more reliable, I recommend following this post on MSDN [0]. Exposing Docker to localhost like that really isn&#x27;t the most secure of setups!<p>And it really is remarkable how much better development on Windows has become over the last 2 years.<p>[0] <a href="https:&#x2F;&#x2F;blogs.msdn.microsoft.com&#x2F;commandline&#x2F;2017&#x2F;12&#x2F;08&#x2F;cross-post-wsl-interoperability-with-docker&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blogs.msdn.microsoft.com&#x2F;commandline&#x2F;2017&#x2F;12&#x2F;08&#x2F;cros...</a>
squarefoot超过 7 年前
WSL essentially is to Linux what WINE is to Windows. On all my machines WINE (and virtualbox when I needed true emulation) helped me to ditch native Windows completely years ago. So why shouldn&#x27;t I think WSL real purpose is to discourage people from doing native Linux installs? For most people the effect is the same, just reversed.<p>The problem might arise should they diverge enough that software has to be maintained in multiple versions, so that commercial software companies will have to choose which one to support, and they invariably go for the one with the (biggest) company&#x2F;corporation attached to it which of course would be Microsoft (just look ad Debian vs Ubuntu). Should this scenario seem impossible, think what would happen if Microsoft decided to write a library that exposes all important device drivers to the underlying Linux subsystem: gaming companies could write their games without any fear of incompatibilities because they&#x27;re using the Windows graphics card driver, the same way I use Linux drivers for a sound card Windows ceased to support years ago when I load a Windows audio software under WINE (example: Reaper+Tascam US122). That day Linux native installs would be less and less appealing for commercial (and sadly many amateur) software developers, which makes me very pessimistic. Microsoft is already a platinum member of the Linux foundation for reasons that go beyond my level of comprehension; what would prevent them say 5 years from now, from telling the world that their Linux is the real one?<p>edit: minor correction
rnd0超过 7 年前
Personally speaking, while I think that WSL is neat as heck, and very convient; I don&#x27;t trust Microsoft to not abandon it the way they abandoned Windows Services for Unix ( <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Windows_Services_for_UNIX" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Windows_Services_for_UNIX</a> ) once it gets popular enough.<p>So I&#x27;ll enjoy it while it&#x27;s here, but I&#x27;m nowhere near uninstalling VirtualBox. Once burned and all that.
评论 #16357379 未加载
mancerayder超过 7 年前
I&#x27;m glad MobaXTerm got mentioned. It&#x27;s incredibly underrated. It&#x27;s (essentially!) Putty, Putty tabs, Cygwin,X, and a slew of other stuff and comes as an installable executable or stand-alone to put on a USB stick. Free and Enterprise versions. I&#x27;m a huge fan.
vijaybritto超过 7 年前
The major problem I have is: Npm installs are so problematic for me. One out of every 5 npm installs fails with some weird permission error. Like cannot rename a file inside the node-modules folder. The second is the terminal styling and speed. Not easy to configure
sevensor超过 7 年前
Has anybody switched between WSL and Cygwin? Care to contrast? Cygwin&#x27;s warts are quite familiar to me at this point, but WSL is still a big unknown. In general I&#x27;d rather be running Linux anyhow, but sometimes one needs to use Windows.
评论 #16354217 未加载
Paul_S超过 7 年前
Pretty much <i>everything</i> the author does works better and faster with a virtual machine in seamless mode.
mrsuprawsm超过 7 年前
This seems like an inferior solution to installing Linux natively or using another *nix (e.g. OS X).
评论 #16353535 未加载
评论 #16353176 未加载
avtar超过 7 年前
I&#x27;ve tried almost all the terminal emulators listed in the article with Hyper being the most recent and keep going back to mintty. The first time I tried Hyper Ctrl L didn&#x27;t work at all. It does now but the performance story or tmux experience (&#x27;reset&#x27; would be required to restore the status bar) is still not ideal. mintty just works.<p>With regards to having access to a Linux environment, I&#x27;ve tried developing using a Linux Vagrant box while sharing the Windows filesystem using VirtualBox Shared Folders. This worked for smallish directories but I still had to contend with workarounds for symlink issues. Then I went down the WSL route before and after the Fall Creators Update. It&#x27;s impressive how far WSL has come but the file system performance hits are noticeable.<p>Now I&#x27;m settling on having just one beefy Debian Vagrant box. Its filesystem is exported to Windows using Samba so native text editors can be used but all fs operations run within the VM with no NTFS compatibility issues. Performance is great and Docker works without the Hyper-V lock-in.
评论 #16353957 未加载
评论 #16353294 未加载
oneplane超过 7 年前
TL;DR: I don&#x27;t get it. Why bother with Windows at all if you are not going to use it anyway?<p>Ninja-addition: but don&#x27;t get me wrong, the writeup is quite nice anyway! And if you are in a mixed environment where you need to run MSBuild locally for win32 apps and do a small amount of local-linux it might make sense.<p>&lt;slight-rant&gt; Windows isn&#x27;t a nice self-hosting toolbox OS with *nix semantics and probably never will be, no matter how much emulation or subsystem layers are added. In a way, macOS is moving a bit in that direction as well, but without killing the foundation it is built upon. Perhaps, if at some point either the NT kernel gets replaced (no, it&#x27;s not a bad kernel, it&#x27;s just a &#x27;different&#x27; kernel with no compatibility towards BSD, Linux, Unix, Mach, L4, or any other open kernel) it will allow for a more toolbox&#x2F;developer-centric environment.<p>Now, while this argument might seem like the one about &quot;I need things to be open source because I want to touch it&quot; (which gets stale pretty quickly since 50% of the users never do this or probably don&#x27;t even have the skills), it&#x27;s not what I&#x27;m aiming for. It&#x27;s more about the fact that you can interrogate, manipulate and visualise all levels of the system you are working on, in an identical way you can do on your target system. While most types of actions have comparable methods on Windows, there is nothing like a &#x2F;sys &#x2F;dev or &#x2F;proc on Windows, you can&#x27;t easily &#x27;see&#x27; what you are doing, and that is a really problematic thing once you get past the entry-level web development. Most of the inspection and introspection on Windows comes in the form of closed source bulky IDE&#x27;s that may or may not have that single feature you needed to figure out why your program has trouble reading some device node or why it&#x27;s performance varies depending on connections, handles or other OS-dependant actions. At best, you can do some stuff with the sysinternals suite, but that doesn&#x27;t even come close to basic tools like top,ps,lsof,sysctl,ldd,strace,gdb. The whole Windows ecosystem is so tightly bound to opaque systems that cannot be reached unless you dig around in some GUI, it makes it hard to do basic debugging. While it has gotten better over the years, we are still stuck with a ton of half-invisible things in ancient GUIs or MSC plugins that have an impact on your work but have nothing to do with your target system. Basically, you now have to maintain two systems of which one isn&#x27;t really the one you wanted to work with in the first place.<p>It&#x27;s not that you can&#x27;t do it, it&#x27;s just that much harder to do on Windows. This is not unique to Windows, and applies to smaller scopes as well. If you build an application in an IDE and you want to automatically test and integrate it, but you didn&#x27;t check how to build, link and package your product because the IDE did it for you, you suddenly can&#x27;t reliably do what you needed to do, and you have to reverse-engineer the somewhat opaque process that the IDE did for you in the background and reproduce it using toolbox-tooling in order to automate it or deploy it on your target system. While not using that IDE isn&#x27;t the super-solution either, purely depending on one blind&#x2F;black-box integrated system is hardly the smartest choice out there. &lt;&#x2F;slight-rant&gt;
评论 #16353147 未加载
chx超过 7 年前
I went WSL last year and wrote up how I made Windows familiar to my old Linux setup somewhat. <a href="https:&#x2F;&#x2F;github.com&#x2F;chx&#x2F;chx.github.io&#x2F;wiki&#x2F;How-I-set-up-my-Windows-10-(coming-from-Linux)" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;chx&#x2F;chx.github.io&#x2F;wiki&#x2F;How-I-set-up-my-Wi...</a><p>I have been using Linux on servers since 1993, dual booting on my desktop 2000-2004, then went full Linux on my desktop&#x2F;laptop and now WSL.<p>The only really annoying aspect is the slow filesystem <a href="https:&#x2F;&#x2F;wpdev.uservoice.com&#x2F;forums&#x2F;266908-command-prompt-console-windows-subsystem-for-l&#x2F;suggestions&#x2F;13386252-filesystem-slow-compared-with-native-ubuntu-system" rel="nofollow">https:&#x2F;&#x2F;wpdev.uservoice.com&#x2F;forums&#x2F;266908-command-prompt-con...</a>
gmueckl超过 7 年前
So it&#x27;s 2018, Linux binaries run on Windows for the most part, but the only way to get Linux programs with a GUI on Windows is through the X11 protocol, because it was designed to run on a network. Seems like some software is really hard to kill.
评论 #16353164 未加载
HelloNurse超过 7 年前
After getting a new PC with Windows 10, I tried WSL and I found a scarily easy to smash foreign file system, no obvious way to update the offered Ubuntu version, and incompatibility with GUI applications except for experimental X server tricks.<p>In other words, both Cygwin and a Linux VM with properly shared folders appear easier to use and more useful in practice than WSL; I have no idea of what Linux software is worth running under WSL despite these limitations.<p>Emacs, Node.js, Bash, Python, Git and many other important tools have good Windows versions, while almost everything popular is available in a package or easy to compile, and in both cases much more dependable, under Cygwin.
SZJX超过 7 年前
The way things have been going is promising but the WSL is still too far away from being able to be considered as a place where full-time development happens. For example a true tiling window manager like i3 gives me tremendous productivity boost, which WSL can in no way deliver.<p>I appreciate that when I have to use Windows (e.g. for some apps that just don&#x27;t work on Linux) I can still take advantage of a true Linux system&#x27;s power. But that&#x27;s about as far as it goes. Claiming it to be a &quot;dev machine&quot; is still quite an exaggeration. I&#x27;ll see how it goes in a few years. Hope Microsoft and Canonical can keep up the work, for sure.
wildmusings超过 7 年前
I’m not sure if this is still the case, but I found that I would only get proper font smoothing on X apps with WSL if I ran ubuntu-settings-daemon (just needs to run for a few moments, not stay running iirc). You may also have to install more packages (I recall installing ‘ubuntu-desktop’ because I didn’t feel like tracking down the exact ones needed).
评论 #16353989 未加载
badgumby超过 7 年前
I also use WSL And I think it&#x27;s a good start. Lots of potential.
0xfeba超过 7 年前
I find just running a Arch VM faster, easier, and portable.
quickben超过 7 年前
I found virtual box to be very decent for this. Plus add snapshots and easy backups, and it is very hard to replace as a workflow.
mtw超过 7 年前
Is anyone able to run WSL with tensorflow or related libraries such as keras? Last time I tried, they were incompatible!
评论 #16353333 未加载
评论 #16353284 未加载
pharrington超过 7 年前
Meanwhile, in Windows 7 - <a href="https:&#x2F;&#x2F;imgur.com&#x2F;eOYRWCJ" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;eOYRWCJ</a><p>(yes, I troll, but I swear I&#x27;ll submit a pull request for this to Ammonite <i>eventually</i>)
Bitcoin_McPonzi超过 7 年前
I develop on Windows 10, and I don&#x27;t try to &quot;Linuxize&quot; at all, even though we often deploy on Linux.<p>I do use ConEmu, but I use PowerShell as my shell, don&#x27;t run WSL or Cygwin. All our devtools (Erlang, CUDA C&#x2F;C++, Python) run fine in Windows and using Windows as it was meant to be without any &quot;shims&quot; makes it much easier to deal with differences in file nameing conventions, path separators, etc.<p>Plus, PowerShell really is the Best Shell Ever.
评论 #16354604 未加载
评论 #16353457 未加载
评论 #16353940 未加载