LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-17-2008, 09:34 PM   #1
telg
LQ Newbie
 
Registered: Dec 2007
Location: Australia
Posts: 13

Rep: Reputation: 0
unix source code


hi

um, i'm sure this has a really obvious answer, but where can i find the source code for all the unix commands in one central location

say i want to look at the source code for the ls command and the ssh command without fishing through google, is there one central location that stores them all? Or is there somewhere else to get them from?

i tried looking at this thread:
http://www.linuxquestions.org/questi...e-code-184937/
however, i couldn't really find much from the link - maybe they are outdated or something


many thanks
 
Old 05-17-2008, 09:44 PM   #2
archShade
Member
 
Registered: Mar 2006
Location: Delft NL
Distribution: Debian; Slackware; windows 7
Posts: 218

Rep: Reputation: 53
http://www.gnu.org/software/coreutils/ Seems to work ok website gives an over view of what they do and some legacy history then links to different places you can get the actual tools (source and all)

Last edited by archShade; 05-17-2008 at 09:45 PM. Reason: typo realised after post
 
Old 05-18-2008, 12:17 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by telg View Post
hi

um, i'm sure this has a really obvious answer, but where can i find the source code for all the unix commands in one central location

say i want to look at the source code for the ls command and the ssh command without fishing through google, is there one central location that stores them all? Or is there somewhere else to get them from?

i tried looking at this thread:
http://www.linuxquestions.org/questi...e-code-184937/
however, i couldn't really find much from the link - maybe they are outdated or something


many thanks
Not per se. You *could* conceivably get everything from e.g.
http://packages.debian.org - they certainly have a huge repository
of programs (and the source for those) in stock.

As for the link: you just need to go up a few levels, methynks, to
see other programs.

http://directory.fsf.org/category/index/




Cheers,
Tink
 
Old 05-18-2008, 01:38 AM   #4
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,876

Rep: Reputation: 88
Quote:
Originally Posted by telg View Post
...um, i'm sure this has a really obvious answer, but where can i find the source code for all the unix commands in one central location

say i want to look at the source code for the ls command and the ssh command without fishing through google, is there one central location that stores them all? Or is there somewhere else to get them from?...
Be aware that this is a bit of a trick question.
UNIX is proprietary and source code is not always available. Sorta...

Older UNIX source code can be found at The UNIX heritage society.

Sun offers source code for OpenSolaris, don't know if that includes core utilities you mention.

Chances are you did actually mean the GNU core utilities usually found on Linux and available for other UNIX and non UNIX operating systems that archShade pointed to.

You can also get source code from the distribution you use. Although Tinkster mentions Debian it is available from other distro sites.

On the other hand UNIX source code from AIX and UNIXWARE are probably not available for download.
 
Old 05-19-2008, 02:05 AM   #5
telg
LQ Newbie
 
Registered: Dec 2007
Location: Australia
Posts: 13

Original Poster
Rep: Reputation: 0
thanks a lot all

i followed the links and reached this website:

http://www.gnewsense.org/

and took the first link on there which went to some tar downloads,

i just clicked on the 1.8 Gig one so it may take a while to download but i assume that is the right one.

also as an aside, i don't have linux connected to the internet but someone told me that apt-get should provide a list of sources as as binaries when run in the ubuntu gui.

is that right?
 
Old 05-19-2008, 08:00 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
You found the source code for one version (AKA distro) of Linux. It will also be available for others--including Ubuntu.

You can also find source code at individual project pages on Sourceforge, at the GNU site, or the Linux kernel site.
 
  


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: Building UNIX Software from Source Code LXer Syndicated Linux News 0 08-22-2007 11:50 AM
Compiling C code Under Linuix verses Unix jonesth Programming 2 09-12-2005 08:02 AM
Unix source code Scrag Programming 9 05-25-2004 02:28 AM
Unix source code stealing BOBO CONFIRMED! GtkUser General 1 06-07-2003 03:43 PM
Microsoft to license Unix code macewan General 6 05-27-2003 05:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:09 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration