Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-10-2008, 07:01 AM
|
#1
|
Member
Registered: May 2007
Location: india,chennai
Distribution: debian,ubuntu linux
Posts: 30
Rep:
|
Source code of the linux tools
Dear friends,
I am having this doubt for a long time.
Whenever I had to go through the source of particular open source project, first I need to find out the actual site or the developer of the project which/who contributes to open source, then I should download the source from that site.
Is there any single site where I can download the source of any open source tools or open source projects .
For ex: If I need to view the source of tool netstat I should be able to download from a site(could be tgz,tar.bz2...) and understand the code.
All the packages are maintained in debian but only as binary packages.
May be I should look at source packages. Is there anything else available.
Plz don't say sourceforge.net and freshmeat.com - since it does not maintain all the open source tools running in linux platform.
I want to view the source of netstat command but unable to get the source from anywhere.
Regards,
M.Sridhar.
|
|
|
12-10-2008, 07:17 AM
|
#2
|
Member
Registered: May 2007
Location: india,chennai
Distribution: debian,ubuntu linux
Posts: 30
Original Poster
Rep:
|
Hi friends,
I found the solution myself.
In debian mirror itself they are maintaining all the source files too(tar.gz).
we can download source of any tool if you can see in synaptic.
Anyway thanx boss's.
Regards,
M.Sridhar.
|
|
|
12-10-2008, 07:22 AM
|
#3
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
I am not aware of any "one-stop-shopping" site for source code. My impression is that each maintainer of a package, utility, application, etc. keeps the files available in a location that works for them and their community.
Google found this:
http://www.usenet-forums.com/linux-n...urce-code.html (I used "netstat source code" in the search window)
GPL says that the source has to be available, but NOT that it has to be easy to find...... 
|
|
|
12-10-2008, 07:40 AM
|
#4
|
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
|
The source code for anything a part of Debian is always available in the Debian repos. This is great even if you don't use Debian, because sometimes the project page for a program goes down or is under construction and thus the source code is not available anywhere, except the repos of distributions. And since Debian has one of the largest repos, it's very likely that the source code will be there for any major FLOSS project/program.
A good example is enca:
http://freshmeat.net/projects/enca/
Find the source code if you can.
If you can't find it, it's right here:
http://ftp.de.debian.org/debian/pool....9.orig.tar.gz
Last edited by H_TeXMeX_H; 12-10-2008 at 07:41 AM.
|
|
|
12-10-2008, 07:48 AM
|
#5
|
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509
|
Regarding netstat, it is part of the net-tools project developed by BerliOS, the most recent source code being in the CVS repository.
|
|
|
All times are GMT -5. The time now is 12:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|