PDA

View Full Version : Where to find the source code of applications



Timothy Butwinick
September 3rd, 2006, 06:38 PM
I am sorry if this is a stupid question, but where in the file system is the source of an installed application stored? Is this downloaded along with the intallation files, and if not, how and from where do I get it?

meng
September 3rd, 2006, 06:43 PM
Often it is not stored on the system. Go to the project's homepage to get the source.

christhemonkey
September 3rd, 2006, 06:45 PM
I am sorry if this is a stupid question, but where in the file system is the source of an installed application stored? Is this downloaded along with the intallation files, and if not, how and from where do I get it?

In most cases (all?) the source is not downloaded unless you specifically ask apt for it.
(you need deb-src entries for every deb entry in your sources.list)

Then you can just type:

sudo apt-get source PACKAGE_NAME
(replacing PACKAGE_NAME with real package name obviously)

bukwirm
September 3rd, 2006, 10:46 PM
Source is usually stored /usr/src or /usr/local/src

H.E. Pennypacker
September 4th, 2006, 01:41 AM
Many programmers will add the source files to the file you downloaded in the first place. If not, you will need to go to the homepage, and download the source there.