Linux N00b question

Discussion in 'OT Technology' started by gatpackingfellon, Oct 31, 2005.

  1. gatpackingfellon

    gatpackingfellon New Member

    Joined:
    Feb 23, 2005
    Messages:
    143
    Likes Received:
    0
    I'm very very new to linux and i'm trying out different live cds just to see what the diff. distros are all about. The two i've used so far are ubuntu and knoppix. I'm also beginning to learn the basic C language which is where my question comes from.

    With knoppix i can compile a program using the "cc programhere.c" command but I can't in ubuntu. Does neone know how to compile C programs using the ubuntu 5.1 live cd or if it's even possible?

    sorry if this seems trivial but i've been on windows all my life and heard great things about linux so i wanna try it out
     
  2. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,865
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
    does the ubuntu live cd have gcc on it? (i dont use live cd's nor ubuntu, i'm a bsd guy)
     
  3. gatpackingfellon

    gatpackingfellon New Member

    Joined:
    Feb 23, 2005
    Messages:
    143
    Likes Received:
    0
    not sure actually, do u know where on the cd i could check?

    (i'm assuming gcc is a C compiler)
     
  4. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,865
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
    if you type in gcc it should come up with an error:
    gcc: no input files

    gcc is the standard compiler for almost all (if not all) linux distros.
     
  5. gatpackingfellon

    gatpackingfellon New Member

    Joined:
    Feb 23, 2005
    Messages:
    143
    Likes Received:
    0
    i tried gcc in the terminal window but it came up with

    bash: gcc: command not found
     
  6. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,865
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
    ok probably doesn't have it on the live CD.

    are you aware that there are live CD's that are built specifically for developers that come with KDE/Eclipse/GCC/Java/PHP/Apache/MySQL/Python/Perl/etc...
     
  7. gatpackingfellon

    gatpackingfellon New Member

    Joined:
    Feb 23, 2005
    Messages:
    143
    Likes Received:
    0
    truly?:eek3:

    would u be so kind as to list some?

    i wanna try a bunch before i try to actually dual-boot or nething major.
     
  8. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,865
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
  9. gatpackingfellon

    gatpackingfellon New Member

    Joined:
    Feb 23, 2005
    Messages:
    143
    Likes Received:
    0
  10. Joe_Cool

    Joe_Cool Never trust a woman or a government. Moderator

    Joined:
    Jun 30, 2003
    Messages:
    299,395
    Likes Received:
    581
    Ubuntu (live cd and full install) don't come with development tools installed. You can easily add them on with apt-get.
     
  11. Penguin Man

    Penguin Man Protect Your Digital Liberties

    Joined:
    Apr 27, 2002
    Messages:
    21,696
    Likes Received:
    0
    Location:
    Edmonton, AB
    Truth. It's kind of annoying, but at least they come on the CD so you can compile stuff you may need to get your internet connection working.
     

Share This Page