Where can I find the source code for the latest Ubuntu release?
Also, how would I view the code? Would it just be lots of .cpp and .h files I could view in Visual Studio?
Join Stack Overflow to learn, share knowledge, and build your career.
|
Where can I find the source code for the latest Ubuntu release? Also, how would I view the code? Would it just be lots of .cpp and .h files I could view in Visual Studio? |
|||||||||||||
|
|
The source code for ubuntu is divided up by package - from a running ubuntu system you can easily retreive the source for any package by doing:
Otherwise, go to launchpad, and search up the package in question. For example, here's the download page for the source code for a specific version of curl: https://launchpad.net/ubuntu/+source/curl/7.21.2-4ubuntu1 That said, it's a lot easier if you're on a Linux system already - the package sources are divided into an original source tarball plus ubuntu patches, so if you don't use What's more, the packages are generally not designed to be cross-compiled from a non-Linux system. Even if you download them and open them in VS, you won't be able to build them from a Windows system. Finally, note that not everything is in C and C++ - there are packages in just about any language you can imagine. But I suppose most of them could be opened in VS as text files :) Note: If you really, really want all of it, and I can't stress enough how silly it would be to download everything just to start learning about the system, you can use the
This will be an absolutely huge download. Have several tens of GBs of space available. Note that this downloads only core packages - replace Once you have the package files, you can extract the source by running |
|||||||||||||
|
|
|||
|
|