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 ...
- 03-05-2010 #1Just 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
- 03-05-2010 #2Linux Guru
- 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!
- 03-05-2010 #3Just 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
- 03-05-2010 #4
try using sudo command and enter your user password
sudo yum install gcc
- 03-05-2010 #5Linux Guru
- 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!


Reply With Quote