Jump to content

Where are my utilities sources?


Guest Opiumdreamer
 Share

Recommended Posts

Guest Opiumdreamer

Hi!

 

I run Mandriva 10.2 2005 L.ed. and i would be very happy if someone told me where to find the sources to the base system (i.e /bin/, /sbin/ etc.). If it is a packages installable from the package manager I would like to know it.

 

::EDIT::

I have browsed several FTP sites for the sources without finding these ones - it seems as if Mandriva only supplies the sources to their special RPM packages and not to the base system utilities like ls, chmod, cat, more, od, calc and all these commands that have been in all distros from start. I have found the FreeBSD sources for these utilities to check out but someone must maintain them for Linux as well right? Or at least the sources must be out there somewhere. Please help me out :wall:

::EDIT::

 

Thanks you very much in advance!

 

Regards,

Opiumdreamer

Edited by Opiumdreamer
Link to comment
Share on other sites

I haven't checked this extensively. However, all the basic utilities you mentioned (such as cat, chmod, and others) can be found in coreutils rpm. So you should download the coreutils source rpm, unpack it using the command

rpm -Uvh <name of rpm>, and then go to /usr/src/RPM/SOURCES directory to see the source files.

 

Good luck

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...