I would like to know how to get the complete source code of ElementaryOS and how to compile it (on windows, if possible).

I wanted to make it clear that I am new to stackexchange and that I am not familiar with the forum.

Thank you for reading and answering!

1 Answer 1


The source code for elementary OS is available from their GitHub organization. The easiest way to get the code is using Git.

To build the code you'd have to walk the dependencies and then build and install each one by following the build instructions in each project's README.

The instructions, as would be expected, assume you are using an Ubuntu base for the operating system, where getting all the dependencies for elementary OS is done through Debian and Ubuntu packages. Otherwise, you'd have to build each dependency from source if your system doesn't provide packages.

On Windows, you're probably going to want to build this all on authentic Ubuntu to avoid hassles. Use VirtualBox, VMWare, Multipass, Docker, WSL, or some other virtualization application to run an Ubuntu system on Windows. MSYS2 and Cygwin are also available options. You are probably going to have to compile a lot of dependencies from source and do lots of patching if you want to use MSVC, Microsoft's C compiler for Windows.

  • Ok I have searched in the organization's repositories but I cannot find the "source code" of the system. What repo is given to him? Thank you
    – Cubic- Man
    Commented Feb 13, 2021 at 11:14
  • The source code is spread among many, many repositories. For example, the source code for elementary's window manager, Gala, is here.
    – jwillikers
    Commented Feb 13, 2021 at 15:03
  • Ok, so how do I download the complete ElementaryOS source code?
    – Cubic- Man
    Commented Feb 13, 2021 at 15:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.