Building MiKTeX

MiKTeX can be built on Windows. A subset of MiKTeX, called MiKTeX Tools, can be built on GNU/Linux:

Getting MiKTeX Source Code

You can download MiKTeX source code here:

MiKTeX 2.9-2016-04-26 Source Code
Version 2.9-2016-04-26, all platforms
Size: 21.13 MB