Results 1 to 4 of 4

Thread: Help! How to run gcc in my ubuntu laptop

  1. #1
    Join Date
    Sep 2005
    Beans
    4

    Question Help! How to run gcc in my ubuntu laptop

    I've newly installed Ubuntu...

    How do I run gcc in my computer? Because, I've tried to compile a program in terminal and typed gcc -o <name> <filename>, and after that it says, COMMAND NOT FOUND, something like that...

    What should I do so that I can run gcc?

    Thank you very much

  2. #2
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: Help! How to run gcc in my ubuntu laptop

    Open synaptic or kynaptic and use the search function, look for GCC and make sure it is installed (not only the base package).

  3. #3
    Join Date
    Mar 2005
    Location
    Ålsgårde, Denmark
    Beans
    939
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Help! How to run gcc in my ubuntu laptop

    or type

    sudo apt-get install build-essentials

    in the terminal.

  4. #4
    Join Date
    Jan 2005
    Beans
    346

    Re: Help! How to run gcc in my ubuntu laptop

    it's just build-essential (no s on the end)

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
  •