LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   hello , (https://www.linuxquestions.org/questions/mandriva-30/hello-346560/)

mohama 07-25-2005 10:24 AM

hello ,
 
i have a little bit stupid question ... where can i found the source code of my mandriva ???

thanks ,:confused: :o

XavierP 07-25-2005 01:00 PM

Moved: This thread is more suitable in Mandriva and has been moved accordingly to help your thread/question get the exposure it deserves.

XavierP 07-25-2005 01:00 PM

What do you mean by source code? Do you mean the kernel sources?

mohama 07-26-2005 07:31 AM

answer
 
hi ,

Quote:

What do you mean by source code? Do you mean the kernel sources?
yes , i want to see it's source code and learn from it ...

thanks ,:)

reddazz 07-26-2005 09:54 AM

You can install it using urpmi e.g.
Code:

#urpmi kernel-source
It should be installed in /usr/src.

sekelsenmat 07-26-2005 10:22 AM

Re: answer
 
Quote:

Originally posted by mohama
hi , yes , i want to see it's source code and learn from it ... thanks ,:)
Do you already know programming? If not you should start with something easier.

The kernel source code is basicaly c code + some assembler code and is totally hardware oriented, and is huge. You should read it if you want to learn hardware oriented programming, File Systems, Device Drivers or Operating System development. I seriously advice that you read something about operating systems design before you enter it.

There are also a number o websites about the kernel history witch can help. If I wanted to know how the kernel was done, I would start off with the earlier versions. The current one is just too big, too complex for a beginner to understand without months of reasearch.

You should also know something about 386 architecture.

mohama 07-27-2005 02:26 AM

hi ,
 
thanks for your reply ,
mmmmm , i am second year computer engineering student , i do know programming , although i don't know hardware oriented programming , but this is exactly why i want to see the kernel source code , and about learning about operating systems , i search about this too , so if you know links that can help ... then please send it ...

Quote:

There are also a number o websites about the kernel history witch can help. If I wanted to know how the kernel was done, I would start off with the earlier versions
can you give examples ... ?

thanks alot , :)

sekelsenmat 07-27-2005 11:35 AM

Re: hi ,
 
Quote:

Originally posted by mohama
thanks for your reply ,
mmmmm , i am second year computer engineering student , i do know programming , although i don't know hardware oriented programming , but this is exactly why i want to see the kernel source code , and about learning about operating systems , i search about this too , so if you know links that can help ... then please send it ...
Well ... Im also in the second year of computer engineering and I dont know much about hardware programming either, but if your course is similar to mine you will have classes about operating systems next year or so. You could look at the bibliografy ahead. Ill have to learn about hardware programming very soon for the 2nd semester classes, but Im not in a hurry .:cool:

Quote:

can you give examples ... ?

thanks alot , :) [/B]
http://www.li.org/linuxhistory.php
http://en.wikipedia.org/wiki/Linux_kernel
http://ftp.cdut.edu.cn/pub2/linux/ke...ry/Master.html

Google is your friend.

mohama 07-27-2005 11:54 AM

answer ,
 
hi ,
Quote:

Well ... Im also in the second year of computer engineering and I dont know much about hardware programming either
cool , well yes i will have course called operating systems next year , but I AM in a hurry ...

but you still didn't tell me how to get to the kernel source code ??

thanks ,

sekelsenmat 07-27-2005 12:34 PM

Re: answer ,
 
Quote:

Originally posted by mohama
[B]but you still didn't tell me how to get to the kernel source code ??[B]
Well, sorry, but this was answered by reddazz

You can do:

urpmi kernel-source

or you can download via html

Go to http://rpm.pbone.net and type kernel-source and then search.

There will be tons of packages, you need to find one for your distribution version.

This will give you the current source of your working kernel. Or did you mean the source for the first versions of the kernel??? I would have to google for that ....

[edit to add]You may want to know how to compile your kernel: http://wiki.linuxquestions.org/wiki/Compiling_a_kernel

This can be instructive in terms of learning how the kernel works.

sekelsenmat 07-27-2005 12:37 PM

Re: answer ,
 
Quote:

Originally posted by mohama , but I AM in a hurry ...
Why?

mohama 07-27-2005 01:24 PM

answer ,
 
Quote:

quote:Originally posted by mohama , but I AM in a hurry ...

Why?
because i am interested in this , and i get bored of studing linear algebra and infenitesimal calculus and the worst is introduction to algorithms for corman , i mean it is not that bad but after specific period of time you get bored of that and start looking forward to new things ... !

Quote:

I�ll have to learn about hardware programming very soon for the 2nd semester classes, but I�m not in a hurry .:cool:
why ???

thanks any way ... .. .


All times are GMT -5. The time now is 08:22 AM.