Results 1 to 3 of 3

Thread: gcc install on a command line environment

  1. #1
    Join Date
    Feb 2011
    Beans
    1

    gcc install on a command line environment

    I installed a command line version of Ubuntu 10.10 using the alternate install disk. To suit my needs, I have to install the gcc C compiler in this environment. When connected under root, I enter the command: 'apt-get install gcc'. The error 'E: unnable to locate package gcc' is then displayed on screen.

    Can you tell how to install gcc? Is this package available from the alternate install disk or do we have to download it. If I dowbload a tar file, where should I copy it to to be able to have the install application see it?

    Thank you, Yves Plasse.

  2. #2
    Join Date
    Feb 2010
    Location
    Obscurial Springs
    Beans
    15,204
    Distro
    Ubuntu Budgie Development Release

    Re: gcc install on a command line environment

    "Our intention creates our reality. "

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Flavors

  3. #3
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: gcc install on a command line environment

    The build-essential package will get you gcc basics. If you need more, run apt-cache search gcc and you will get many choices.

Tags for this Thread

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
  •