Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Question about how Ubuntu was made.

  1. #1
    Join Date
    Apr 2005
    Beans
    27

    Question about how Ubuntu was made.

    I am learning HTML and other languagfes right now, but a ways down the road -- maybe 5 years or so -- when I have mastered all the ineternet languages, i would like to know how to make software. OS is one of them. Since I all ready know its going to be hell to do, I would like to start from linux and build it to what I would like. Anyway, what language is Ubuntu? Pearl? Or...what? (And is i the same for Linux...?)

    Thanks.

  2. #2
    Join Date
    Dec 2005
    Location
    Chicago
    Beans
    Hidden!

    Re: Question about how Ubuntu was made.

    C and/or C++

  3. #3
    Join Date
    Jul 2005
    Beans
    28

    Re: Question about how Ubuntu was made.

    HTML isn't a computer language technically. PHP is a language that generates HTML and is definatley worth a look if you want to get into programming, and is certainly much less hardcore than C/C++.

  4. #4
    Iandefor is offline Grande Half-n-Half Cinnamon Ubuntu
    Join Date
    Sep 2005
    Location
    New York
    Beans
    Hidden!

    Re: Question about how Ubuntu was made.

    Lots of different languages. The Linux kernel itself is composed of C/ASM (I believe... I'm probably wrong, though), but some tools are based on Perl, some on C++, etc. The way a Linux distribution is structured, you should know, is that it's basis is the Linux kernel and everything else is built around that. There isn't any such thing as the Linux "OS". Beyond the kernel, it's all just software selection, which can be written in a variety of languages- from bash scripting to C.

    And writing an OS is a huge undertaking. I don't believe that there is a single person on earth capable of writing an OS.
    This space intentionally left blank.

  5. #5
    Join Date
    Jan 2005
    Location
    Minneapolis, MN
    Beans
    510
    Distro
    Xubuntu 11.10 Oneiric Ocelot

    Re: Question about how Ubuntu was made.

    I don't believe that there is a single person on earth capable of writing an OS.
    Sure there are. Computer Science students have to do it all the time. Of course it would be an extremetly limited OS, but it is quite possible.

    In this one they write an emulated OS, but I believe they have to write the device drivers, file system drivers (for FAT 12, I think) etc.
    http://ilab.cs.byu.edu/cs345/

    At the end of the course any decent student could write a basic OS by them selves.

    Edit: Replying to the original posters question...
    I would like to start from linux and build it to what I would like. Anyway, what language is Ubuntu? Pearl? Or...what? (And is i the same for Linux...?)
    Sounds like what you're really trying to do is create your own distribution of Linux. IF you're after that, what you probably want to do is set up a test box, and put Linux From Scratch on it. You'll get familiar with all the guts of Linux, and have your own custom setup when you're done. LFS has lots of tutorials on how to do it, with plenty of room for deviation and customization. http://www.linuxfromscratch.org/ And I don't think you actually need any programming experience to set up LFS, just good instruction following capabilities.
    Last edited by stuporglue; March 23rd, 2006 at 06:35 AM.
    My projects and ramblings: http://stuporglue.org
    http://www.mormon.org/bookofmormon -- Free Book of Mormon

  6. #6
    Join Date
    Feb 2006
    Location
    Tucson, AZ
    Beans
    182
    Distro
    Xubuntu 6.10 Edgy

    Re: Question about how Ubuntu was made.

    Quote Originally Posted by ReviewSpin
    when I have mastered all the ineternet languages,.
    I suppose this is possible, but not in a few years, and you don't really need to. Just find something you enjoy. As for 'internet language' I don't if you're talking about client side stuff like HTML, JavaScript, or CSS. That's probably a good start. Get a good book, those are really helpful when you're beginning.

  7. #7
    Join Date
    Nov 2004
    Location
    Quebec
    Beans
    67
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Question about how Ubuntu was made.

    ReviewSpin,

    I would recommend you to start by reading the How to Become a Hacker text by Eric S. Raymond

    The text does a great job at trying to explain the different programming languages and operating systems and with what to start when you want to master all those things.

    HTML is a good thing to learn when beginning to help become familiar with structuring things.

    Has for creating an Operating System, you first have to know that it's a complicated task and that you should become a good programmer before even thinking about building an OS. But, what you can and should do is learn the basics of Operating Systems, their job and how they work in general.
    Other than Ubuntu, my other main passion is nutrition. I manage a paleo diet lifestyle website hosted on a Ubuntu server.

  8. #8
    Iandefor is offline Grande Half-n-Half Cinnamon Ubuntu
    Join Date
    Sep 2005
    Location
    New York
    Beans
    Hidden!

    Re: Question about how Ubuntu was made.

    Quote Originally Posted by stuporglue
    Sure there are. Computer Science students have to do it all the time. Of course it would be an extremetly limited OS, but it is quite possible.

    In this one they write an emulated OS, but I believe they have to write the device drivers, file system drivers (for FAT 12, I think) etc.
    http://ilab.cs.byu.edu/cs345/

    At the end of the course any decent student could write a basic OS by them selves.
    I made the implicit assumption that OS means full operating system- like a typical Linux distro today. My bad.

    And before this goes any further, there's a big difference between the operating systems CS students write and operating systems that could be deployed on a significant scale- like Windows, Mac OS X, and Linux/Unix, and by "full operating system", I mean an operating system that could be deployed on a significant scale.
    This space intentionally left blank.

  9. #9
    Join Date
    Nov 2005
    Location
    Toronto
    Beans
    1,181

    Re: Question about how Ubuntu was made.

    If you really want to understand your operating system, Gentoo would suit you better than Ubuntu.

  10. #10
    Join Date
    Feb 2005
    Location
    Sweden
    Beans
    315

    Re: Question about how Ubuntu was made.

    As stuporglue said. You don't program a Linux distribution like Ubuntu. You take a lot of software such as the Linux kernel, GNU toolchain, X server, Gnome, Open Office and anything else you want. Then you compile it all and configure it to work together and form a complete system that is customized exactly the way you want it. A lot of people say installing Linux From Scratch is the best way to learn how to do that.

    As for programming languages, don't worry about learning them all. Once you are good at a couple languages you can start programming in any language in a matter of hours with a good reference book by your side. You'll know that for example "here I need a loop" and check in the reference what the exact syntax for loops are in the new language. The first program you write in a new language will not make full use of that language's potential but it will work. So once you know one language in each area learn the rest if/when you need them.

    The best way to learn programming is IMO to play programming games like Robocode plus undertake challanges like "write a program that finds prime numbers" or "write a program that can play tic tac toe".
    Last edited by Kvark; March 23rd, 2006 at 10:48 AM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •