Introduction: Whether it is mingw or Cygwin, including the recent rise of MSYS2, there are all kinds of strange, a word, is inseparable from windows, but also to POSIX heart itch difficult to scratch. Gentoo prefix allows you to practice POSIX without losing the elegance of Windows.
What is Gentoo prefix?
Gentoo is a gnu/linux release, just like Ubuntu is a gnu/linux release. Gentoo is characterized by good, really good. The principle is that Gentoo is based on the POSIX standard source code distribution, and the implementation of the POSIX standard binary is often strange, because the problem of binary compatibility can only be solved by decoupling, so on the POSIX standard provides a source code text compatible with the elegant release version, Is Gentoo. Gentoo prefix is a version that lets POSIX standards run under a regular account. Gentoo prefix naturally inherits the features of Gentoo and is able to work closely with the specific implementations of POSIX interface vendors.
In an exaggeration analogy, there may be a pair of binary files between two small gentoo computers with the same location and content that is very different, so it is possible to judge that the binary version of this location is being used when using those binary distributions (Ubuntu, etc.). Operate inefficiently.
What is Interix?
Interix is a Microsoft Windows implementation of the POSIX standard, called sua--Subsystem for UNIX-based applications on Vista. In earlier times it had different titles, and the unified name was Interix. Interix simply provides a POSIX interface, and its implementation is still a PE executable file.
Interix implements more POSIX standards than MinGW, for example, SUA 6.1 provides more than 300 utilities. MinGW's implementation is commendable, its license is friendly, so it is supported by many open source communities.
Compared with Cygwin, Interix is pure native. Cygwin encapsulates the POSIX standard interface in several core DLL files, and more sadly it is its license. Nonetheless, Cygwin is easy to get started, and is used by many novices and experts who rely on POSIX advanced applications.
Compared with Gnu/linux, Interix is more Unix-flavored. Well, in fact, the Unix of a generation is an art, not a copyleft and a community culture. UNIX implementations are different, and even the specific implementation of UNIX is protected by law. People just need to focus on the POSIX standard for work. In fact, the rapid popularization of several distributions of Gnu/linux has greatly diluted the art of the technical concept, we will be loaded with a lot of useless and often updated software. Unix says that software is music.
what can Gentoo-prefix/interix bring?
1. The POSIX standard should really have the efficiency and stability on Windows. Because Interix is the implementation of Microsoft itself, and the sua6+ has been adjusted to a relatively good position. In fact, Microsoft has been ambitious to use Interix to conquer the UNIX market, the history of interested students can check, gossip here is not put.
2. Gentoo's aggressiveness. The Gentoo community itself is more radical. Of course, too much force is counterproductive. Gentoo has a very good "package management system". Although source code dependencies and binary dependencies are not the same thing, they can be understood.
3. Advanced GNU tool Set. This is the focus of Gentoo-prefix/interix over the original Interix.
4, the minimalist installation method. Since Gentoo-prefix/interix is for Windows users, the publisher has created an easy-to-use installer (or some C # written in the Oh ~).
5, the flexibility of their own extension from the source code. I only try to write a few C language novice programs, Khan.
Installation method
A. Downloading installation files and installation tutorials
Install Image: Http://distfiles.gentoo.org/experimental/prefix/x86-interix/current/gpx-universal-20110831.iso
Installation Instructions: http://distfiles.gentoo.org/experimental/prefix/x86-interix/current/gpx-installation-20110617.pdf
B. Installation of the actual operating
The installation image is saved well , the installation guide looks to play . The actual installation steps are:
- Activate the Windows built-in Administrator account and log in to do it
- Double-click the installation image directly. Select all the options available for Su. Let it install for a while.
- Wait until the prompt restarts, and still log in with the built-in Administrator account.
- Tip When adding an account, be aware that you can only add accounts for the Administrators group. For standard accounts, you can use Windows management tools to temporarily row to the Administrators group, and then kick out of the Administrators group when the installation is complete. Also, require that the account being added be logged in at least once so gentoo-prefix can determine her configuration information.
- After installation, open C Shell, enter "SU user name" or "Su-" (without quotation marks), you can enter Gentoo-prefix bash. You can also log in to Gentoo-prefix via SSH at this time. The Xserver is also available.
- You can run the installation image again to add users. Only users added to Gentoo-prefix have permission to log in. Accounts that are disabled in Windows Management tools cannot log on to Gentoo-prefix.
Additional Items
It is a good idea to install a set of visual Studio 2008 before installing Gentoo-prefix so that you can develop Windows applications in Gentoo-prefix.
It is recommended to use xming as the X Server. Because the issuer says Xming has been tested to the fullest.
You can log in to Gentoo-prefix with a registered account via putty.
The new package is best checked in by source code compilation.
Gentoo-prefix/interix's "installation Source" has been wall. The updated message is not available to the author.
Gentoo-portage-interix cannot be used with the latest gentoo-portage, it is custom-made.
The Gentoo-prefix community's maintenance of Gentoo-portage-interix is bad.
POSIX in Windows real: Gentoo-prefix/interix