Microsoft Windows 在哪里? 7 POSIX 实现目前进展如何?
Windows 7 中是否有完整的 POSIX 实现可用(我正在考虑 Windows Services for UNIX)?
它在每个版本的操作系统中都可用吗(似乎不是)?
它如何在以前的 MS Windows POSIX 实现上添加/改进或破坏?
在哪里可以找到有关 Windows 7 中 POSIX 合规性的具体 Microsoft 方法和实施的更多信息?
Is there a full POSIX implementation available in/for Windows 7 (I'm thinking of Windows Services for UNIX)?
Is it available in every version of the OS (it seems not)?
How does it add/improve or break on previous MS Windows POSIX implementations?
Where can i find more info on specific Microsoft approaches and implementations regarding POSIX compliance in Windows 7?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
SUA,以前称为 INTERIX,现在 100% POSIX 兼容。有很多针对它的移植应用程序。甚至像 Debian 这样的整个 Linux 发行版也已被移植。 SUA/Interix 随 Windows 2003R2 及更高版本一起提供(包括具有最新 6.1 的 Win7)。我也成功编译了 BASH,但它不直接支持 SUA。
以前仅实现了 POSIX 的部分内容。最新版本完全兼容 POSIX,并且 (iirc) 比以前更直接地映射到 Windows 内核,从而提高了速度。
但请注意,当我保持 BASH 打开几天时,我(就个人而言)会遇到内存问题。这些问题似乎影响了整个 SUA 系统。我不知道其原因,因此可能与我的设置有关,但在考虑将其用于生产用途之前值得进行测试。
链接:
有关 Interix 的维基百科文章
Debian interix 端口
SUA 社区,包含应用程序/实用程序包
SUA, formerly called INTERIX, is now 100% POSIX compatible. There are a lot of ported apps for it. Even whole Linux distros like Debian have been ported. SUA/Interix comes with Windows 2003R2 and up (including Win7 which has the latest 6.1). I also successfully compiled BASH without it directly supporting SUA.
Previously only parts of POSIX were implemented. The newest version is fully POSIX compliant and is (iirc) mapped more directly onto the Windows kernel than before, causing an increase in speed.
Beware however that I (on a personal note) experience memory problems when I keep BASH open for several days. The problems seems to affect the whole SUA system. I don't know the cause of this so it could be something with my setup, but worth testing before considering it for production use.
Links:
Wikipedia article on Interix
Debian interix port
SUA Community with bundles of apps/utils
自 Windows 8 起已弃用,如本答案所述 https://superuser.com/a/ 495367/128124 并使用以下屏幕截图进行支持:
功能请求:https://windows.uservoice.com/forums/265757-windows- feature-suggestions/suggestions/6573649-full-posix-support
根据 有关 How-To Geek 的文章,它已从 Windows 8.1 中删除。
在服务器端,它在Windows Server 2012 R2 中被正式删除:
来源:Windows Server 2012 R2 中删除或弃用的功能
2016 Windows Subsystem for Linux
2016 年,发布了一个新的官方类 Linux API,称为“Windows Subsystem for Linux”。它包括 Linux 系统调用、ELF 运行、/proc 文件系统的一部分、Bash、GCC、(TODO 可能是 glibc?)、apt-get 等:https://channel9.msdn.com/Events/Build/2016/P488 所以我相信它将允许 Windows 运行大部分(如果不是全部), POSIX 的。然而,它专注于开发人员/部署而不是最终用户。特别是,没有计划允许访问 Windows GUI。
It has been deprecated since Windows 8, as mentioned on this answer https://superuser.com/a/495367/128124 with the following screenshot to back it:
Feature request: https://windows.uservoice.com/forums/265757-windows-feature-suggestions/suggestions/6573649-full-posix-support
According to an article on How-To Geek, it was removed from Windows 8.1.
On the server side, it was officially removed in Windows Server 2012 R2:
Source: Features Removed or Deprecated in Windows Server 2012 R2
2016 Windows Subsystem for Linux
In 2016 a new official Linux-like API called "Windows Subsystem for Linux" was announced. It includes Linux system calls, ELF running, parts of the /proc filesystem, Bash, GCC, (TODO likely glibc?), apt-get and more: https://channel9.msdn.com/Events/Build/2016/P488 so I believe that it will allow Windows to run much, if not all, of POSIX. However, it is focused on developers / deployment instead of end users. In particular, there were no plans to allow access to the Windows GUI.
如果您查看 http://technet.microsoft.com/en-us/library /cc772343.aspx 您可以看到您可以:
运行 BSD 应用程序,因为 BSD 支持包含 阅读 https://en.wikipedia.org/wiki/Windows_Services_for_UNIX
If you look at http://technet.microsoft.com/en-us/library/cc772343.aspx you can see that you can:
Kindly have a read of https://en.wikipedia.org/wiki/Windows_Services_for_UNIX