Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I am new to LINUX as well as to this forum. I am working with the Fedora 10 in VmWare virtual machine. Now i am facing problem with the ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    2

    Working with GCC Compiler

    Hi,
    I am new to LINUX as well as to this forum.

    I am working with the Fedora 10 in VmWare virtual machine.

    Now i am facing problem with the gcc command. It is giving the error as command not found.

    I think that the gcc compiler is not there with Vmware linux(fedora).

    So that i downloaded the gcc-4.4.3.tar.bz2.

    Now i want to install this in my Fedora 10.

    Please let me know the steps to install this gcc compiler

    Regards.
    Giri

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Don't download the souce. Use the Fedora package manger (yum) to install gcc and related tools that are properly configured for your system.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    2
    Hi,

    when i was trying with yum command, it is asking for the root user.

    But during the installation (VMWare or Fedora 10), I din't mentioned any root password as it was not prompted.

    Now, what is the default root password, and how to login as a root?

    Regards.
    C. Giri

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    try using sudo command and enter your user password
    sudo yum install gcc

  5. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Open a command line window and enter the command: sudo su -
    Assuming your account was the one you created the system with, you should have sudo privileges. If that works and you get a # prompt and not an error (if asked for password, use your own), then you can change the root password with the command passwd - it will ask for your new password and then to retype to confirm it. Next you can retry the yum command. FWIW, if you do have sudo privileges, you can use the command sudo yum ... instead of logging in as root.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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