Results 1 to 8 of 8
I've been searching many hours the internet to find instructions about how to install gcc (the c compiler). The GNU site wasnt so helpful...
In a thread in this forum ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-17-2008 #1
How can i be root and how to install gcc
I've been searching many hours the internet to find instructions about how to install gcc (the c compiler). The GNU site wasnt so helpful...
In a thread in this forum someone said to use the command "yum install gcc"
I typed it but it gives:
Loaded plugins: refresh-packagekit
You need to be root to perform this command.
Im running Fedora 9 and its my first time on linux. Any help will be of great use
- 10-17-2008 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
Welcome to the forums!

As normal user, you can gain root permissions by using the su command at the command line:
...if that doesn't work, try su -Code:su
You can look here to learn more about using the command line under Linux:
http://www.linuxcommand.orgoz
- 10-17-2008 #3
I want to add that you should be aware of the effects of ANY command you give as root. All the time!
There will be no safety nets.Debian GNU/Linux -- You know you want it.
- 10-17-2008 #4
I just type su and gain root permissions? Without writing the root pass?
And if i enter "yum install gcc" in the terminal, gcc will be automatically installed and ready to compile C programs?
Thank you for your help! I am not now on my computer so i cant try it...
- 10-17-2008 #5forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
Whenever you type su or su - at the command line, the system will ask for a root password, which you must know if you wish to gain root access.
Check the link posted above for more information on using the Linux command line.oz
- 10-17-2008 #6
- 07-26-2012 #7Just Joined!
- Join Date
- Jul 2012
- Posts
- 1
I'm facing the same problem. but i couldn't type my root password after su or su - command.
Thank u!
Screenshot at 2012-07-26 19:01:47.jpg
- 07-26-2012 #8forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
Guys, this thread is going on 4 years old so I'm going to go ahead and close it, but do feel free to start fresh threads with details if any of you are still having problems with Linux.
Thank you.oz



