Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: source code for ubuntu

  1. #1
    Join Date
    Nov 2012
    Beans
    2

    source code for ubuntu

    i want full source code for ubuntu
    how can i get it

  2. #2
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: source code for ubuntu

    Make sure source code repositories are enabled (gksudo software-properties-gtk) then choose which package you want the source for
    Code:
    apt-get source <package>

  3. #3
    Join Date
    Nov 2012
    Beans
    2

    Re: source code for ubuntu

    can i get it as atxt file or something i can download...

  4. #4

    Re: source code for ubuntu

    there isnt a single file that you can download, rather each compiled binary package has its own source package available

    the source code for the linux kernel for example - which you can download from kernel.org - can be downloaded inside ubuntu by typing 'apt-get source --only-source linux' in a terminal (bash prompt)
    please check out my blog I have a linux tips section

  5. #5
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: source code for ubuntu

    Quote Originally Posted by shahnitrr View Post
    can i get it as atxt file or something i can download...
    What are you trying to do? You seem to have some misconceptions:

    1) It's a single program ("a [single] txt file"). Ubuntu is made up of hundreds of programs and libraries working in harmony. If you want a particular bit, get that bit's source code.

    2) It's a small piece of data ("or something I can download"). The source code packages for the default release of ubuntu would easily fill a couple of GB, the entire repositories several hard drives.

  6. #6
    Join Date
    Apr 2006
    Location
    Ubuntuland
    Beans
    2,124
    Distro
    Ubuntu 13.10 Saucy Salamander

    Talking Re: source code for ubuntu

    Quote Originally Posted by MG&TL View Post
    What are you trying to do? You seem to have some misconceptions:

    1) It's a single program ("a [single] txt file"). Ubuntu is made up of hundreds of programs and libraries working in harmony. If you want a particular bit, get that bit's source code.

    2) It's a small piece of data ("or something I can download"). The source code packages for the default release of ubuntu would easily fill a couple of GB, the entire repositories several hard drives.
    I agree with some of that, but I think that you have a misconception about how big hard drives are today.
    24 beers in a case, 24 hours in a day. Coincidence? I think not!

    Trusty Tahr 64 bit, AMD Phenom II 955 Quad Core 3.2GHz, GeForce 9600 GT
    16G PC2-6400 RAM, 128 GB SSD, Twin 1TB SATA 7200 RPM RAID0

  7. #7
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: source code for ubuntu

    Quote Originally Posted by Slim Odds View Post
    I agree with some of that, but I think that you have a misconception about how big hard drives are today.
    True.

    The entire Ubuntu repository is around 548GB (as of 14/06/2012).
    Last edited by Cheesemill; November 2nd, 2012 at 01:53 AM.
    Cheesemill

  8. #8
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: source code for ubuntu

    Quote Originally Posted by shahnitrr View Post
    can i get it as atxt file or something i can download...
    You've probably figured out by now that the idea of downloading the source code for Ubuntu can mean different things to different people, and that it can result in a big download.

    What I recommend is that you decide which part of Ubuntu that you would like to concentrate on, and let us know. We can then offer suggestions on where to begin.

    Another place to start would to be to see if there are any good books around.
    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

  9. #9
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: source code for ubuntu

    Quote Originally Posted by shahnitrr View Post
    can i get it as atxt file or something i can download...
    The command I gave you downloads the source for which ever package you choose.

  10. #10
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: source code for ubuntu

    Quote Originally Posted by Slim Odds View Post
    I agree with some of that, but I think that you have a misconception about how big hard drives are today.
    True. I have some ancient hardware around, my biggest HDD is 80GB.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •