PDA

View Full Version : where is the source code?



loser55
December 23rd, 2011, 12:55 AM
I want to see source code for some of my programs where is it?

amjjawad
December 23rd, 2011, 01:21 AM
I want to see source code for some of my programs where is it?

Hello and Welcome to Ubuntu Forum :)

Are you talking about the installed application?

cariboo
December 23rd, 2011, 02:01 AM
If you have source code enabled in Software Sources, you can download the source code for anything in the repositories. After setting up the source repositories, you can use you favorite method of installing packages, by using for example:


linux-source

ninjaaron
December 23rd, 2011, 09:04 AM
In addition to compiled binaries, some of your applications are almost certainly written in python and Java script, which are uncompiled scripting languages. You can see their source simply by opening the executable and resources in a text editor (most of these types of files will be stored in /usr, in various sub-folders).

Furthermore, there are many system daemons and init programs which are simple shell scripts. You can find lots of this kind of source in /etc.

oldos2er
December 23rd, 2011, 06:08 PM
apt-get source <package>