LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 07-25-2005, 10:24 AM   #1
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Rep: Reputation: 31
hello ,


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

thanks ,
 
Old 07-25-2005, 01:00 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Moved: This thread is more suitable in Mandriva and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 07-25-2005, 01:00 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
What do you mean by source code? Do you mean the kernel sources?
 
Old 07-26-2005, 07:31 AM   #4
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Original Poster
Rep: Reputation: 31
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 ,
 
Old 07-26-2005, 09:54 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You can install it using urpmi e.g.
Code:
#urpmi kernel-source
It should be installed in /usr/src.
 
Old 07-26-2005, 10:22 AM   #6
sekelsenmat
Member
 
Registered: Apr 2005
Location: So Paulo - Brazil
Distribution: Mageia Linux 1
Posts: 353

Rep: Reputation: 30
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.
 
Old 07-27-2005, 02:26 AM   #7
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Original Poster
Rep: Reputation: 31
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 ,
 
Old 07-27-2005, 11:35 AM   #8
sekelsenmat
Member
 
Registered: Apr 2005
Location: So Paulo - Brazil
Distribution: Mageia Linux 1
Posts: 353

Rep: Reputation: 30
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 .

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.
 
Old 07-27-2005, 11:54 AM   #9
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Original Poster
Rep: Reputation: 31
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 ,
 
Old 07-27-2005, 12:34 PM   #10
sekelsenmat
Member
 
Registered: Apr 2005
Location: So Paulo - Brazil
Distribution: Mageia Linux 1
Posts: 353

Rep: Reputation: 30
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.

Last edited by sekelsenmat; 07-27-2005 at 12:35 PM.
 
Old 07-27-2005, 12:37 PM   #11
sekelsenmat
Member
 
Registered: Apr 2005
Location: So Paulo - Brazil
Distribution: Mageia Linux 1
Posts: 353

Rep: Reputation: 30
Re: answer ,

Quote:
Originally posted by mohama , but I AM in a hurry ...
Why?
 
Old 07-27-2005, 01:24 PM   #12
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Original Poster
Rep: Reputation: 31
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 .
why ???

thanks any way ... .. .
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:46 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