LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 12-10-2008, 07:01 AM   #1
sridhar_dct3
Member
 
Registered: May 2007
Location: india,chennai
Distribution: debian,ubuntu linux
Posts: 30

Rep: Reputation: 15
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.
 
Old 12-10-2008, 07:17 AM   #2
sridhar_dct3
Member
 
Registered: May 2007
Location: india,chennai
Distribution: debian,ubuntu linux
Posts: 30

Original Poster
Rep: Reputation: 15
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.
 
Old 12-10-2008, 07:22 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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......
 
Old 12-10-2008, 07:40 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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.
 
Old 12-10-2008, 07:48 AM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
Regarding netstat, it is part of the net-tools project developed by BerliOS, the most recent source code being in the CVS repository.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: 4 Open Source Code Review Tools LXer Syndicated Linux News 0 11-10-2008 06:40 AM
Linux source-code tejprakash_kolla Linux - General 2 10-29-2005 04:54 PM
Source Code (C++) Comprehension Tools kewlemer Programming 1 10-07-2005 01:24 AM
Need tools for browsing source code phuna Programming 4 08-04-2005 09:25 PM
where i will get the source code of Linux?? and ... nazib Linux - General 1 02-16-2005 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration