0

If I install compiled code, I don't see if the same open source code is actually compiled there. So this is why I would like to install OS via source code.

1 Answers1

1

Sure it's possible. However, it can be quite tedious.

The source code of Ubuntu packages are freely available hosted online (mostly at http://launchpad.net), and as apt-able Debian source packages (not to be confused with more common pre-compiled binary packages)

The basic workflow is that you download a source package, build it into a binary package (including compiling), then install the binary package.

There's a lot of skill baked into that workflow, like diagnosing compile errors and understanding how both kinds of packaging work.

Since you seem to be asking specifically about the initial install of a system, it's mostly the same...but requires chrooting from an already-running system in order to compile and install your kernel and initial package set.

If you are seeking a step-by-step how-do-I-do-this tutorial, that would be much too long to fit AskUbuntu's format. Start with the skills required to install using a chroot and how to download and compile source packages. After the few months it takes you to learn those skills competently, you will know what you need to know.

user535733
  • 68,493