Ubuntu – find the source code of Ubuntu

source code

I would like to know where to find the source code of Ubuntu.
I'd like to see how far it is "open source".

Best Answer

  1. Linux Kernel Source Code:

    apt-get source linux-source-3.2.0
    

    Where can I find the source code for the Ubuntu Kernel?

  2. Ubuntu Source Code:

    Ubuntu archive

  3. Specific Software Source Code:

    sudo apt-get build-dep $package
    

    where package is the program/package's source code you want to adopt.

    Then type:

    apt-get source $package
    

    to get the source for that package.

    For instance:

    sudo apt-get build-dep abiword
    apt-get source abiword
    
Related Question