Results 1 to 6 of 6
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 ...
- 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,093
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
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 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,093
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
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 10-17-2008 #6


Reply With Quote