On Jun 27, 2:54 pm, Abhineet Jayaraj <[email protected]> wrote: > On looking for the ans of my question. I got this: > "*sudo apt-get source <package_name>*" > From this i can get the source of almost all packages. But from where can i > get the source of packages that handle the basic functions of ubuntu like > commands in shell, gui of ubuntu, network configuration and many more. Also > from where can i get the list of applications used in ububtu (i.e. from > samllest to biggest applications used in it). Everything used to build > ubuntu. > > > > On Sat, Jun 26, 2010 at 11:17 PM, Abhi <[email protected]> wrote: > > So how a Linux OS is developed when the source of all the softwares to > > included into it are gathered a single place? > > Ubuntu is like a tree and it should have a root too, this tree has its > > softwares like its branches. > > So I want to know what this root and tree are? > > > On Jun 26, 9:56 pm, Nilesh Govindarajan <[email protected]> wrote: > > > On 06/26/2010 10:19 PM, Abhi wrote: > > > > > I want to learn Linux Programming. So before that I would like to know > > > > how the source code of the apps used in ubuntu and that of the OS > > > > itself looks like. > > > > So from where can I get the source code from? What I think is that > > > > some command in terminal of installed ubuntu will be able to do my > > > > job. But I m not clear about it. > > > > In short I want the source code of Ubuntu. > > > > Ubuntu is a distribution that is it is made of small pieces joined > > > together. You WILL NOT get the whole source code in all; this is > > > applicable to any Linux OS. > > > > See the sites of individual applications, for example, coreutils, it > > > gives you the standard tools like ls, etc. > > > > -- > > > Regards, > > > Nilesh Govindarajan > > > Facebook:http://www.facebook.com/nilesh.gr > > > Twitter:http://twitter.com/nileshgr > > > Website:http://www.itech7.com > > > Cheap and Reliable VPS Hosting:http://j.mp/arHk5e > > > -- > > l...@iitd -http://tinyurl.com/ycueutm > > -- > Abhineet Jayaraj
There is an official source code repository for Ubuntu maintained at: www.archive.ubuntu.com it provides all the binaries as well as the source code for all the packages and all are applicable under GPL To download the source code of any package you want, just follow the following steps start the terminal and type sudo apt-get build-dep package where package is the package you want, this is to build the desired package then download the source code of the package you've just built by typing: sudo apt-get source package For example: If you want the source code of the gedit text editor, then type: sudo apt-get build-dep gedit sudo apt-get source gedit Here it is important to note that you should run the above commands in the directory where you want the source code to be downloaded like if you want the source code of gedit in "/home/user_name/ desired_folder" then cd to that directory and then run these commands As i said, there is an official Ubuntu source code repository at www.archive.ubuntu.com, you can go through the list there and find the package you want and download it by just clicking it. Hope this solves your problem to some extent :) -- l...@iitd - http://tinyurl.com/ycueutm
