Results 1 to 9 of 9
When I installed RH 8.0, I remember doing a custom and basically installing every which way package I could make any reasonable guess at it's usage. And namely, I am ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-30-2003 #1Just Joined!
- Join Date
- Mar 2003
- Posts
- 57
Do I have GCC? Do I have any applications
When I installed RH 8.0, I remember doing a custom and basically installing every which way package I could make any reasonable guess at it's usage. And namely, I am pretty positive I installed GCC, but now i can't find it...luckily RH 8.0, installs nearly nothing (or atleast mine didn't) in the path to run any apps. So now I am lost. I am a real newbie and have no idea where the GCC file is so I can't compile anything.
Can somebody help me out as to where the GCC file is, and also hopefully, where all those other apps are too. If they are all in the same place that is.
Also can somebody tell me if there is a way to see how much HD space I have available and how it is split up?
- 03-30-2003 #2Linux User
- Join Date
- Feb 2003
- Location
- Norway, Asker
- Posts
- 267
1. just type gcc -v. That will show you if GCC is installed. otherwise its not more than just installing it from the cdroms or downloading it from Http://gcc.gnu.org
2. Type df -h. That should show you hdd space.
- 03-30-2003 #3Linux Enthusiast
- Join Date
- Feb 2003
- Location
- Ontario, Canada
- Posts
- 556
if gcc -v doesn't work then try gcc -version
- 03-30-2003 #4Just Joined!
- Join Date
- Mar 2003
- Posts
- 57
But wouldn't gcc -v (or -version) work only if the path was set correctly. Even when I downloaded and installed the JDK, I had to change the .bashrc before i could do a java or javac. Is it possible that i have gcc somewhere, but because the path isn't specified just doing a gcc won't show up?
- 03-30-2003 #5Linux Enthusiast
- Join Date
- Feb 2003
- Location
- Ontario, Canada
- Posts
- 556
mine is in my /usr/bin
you could also try using the kde menu and use 'find files' and just type in gcc and see what comes up
some red hat 8 installs are kinda wonky so it might not be there or it might have been screwed up somehow
- 03-30-2003 #6Just Joined!
- Join Date
- Mar 2003
- Posts
- 57
Thanks everybody, I don't know what happened (and I'm sure these type of spontaneous solutions will happen again). But I typed in gcc -v and it worked, so apparently it is in there somewhere. I'll look in /usr/bin and see if I can find it. There was a bunch of information given to me when I did the gcc -v, but I'll see if I can figure out what I need to know by muself. Thanks.
is /usr/bin where most of the apps are?
- 03-30-2003 #7Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
To find out the significance of different directories, check out this old post.
- 03-31-2003 #8Just Joined!
- Join Date
- Mar 2003
- Posts
- 57
Thanks that was very helpful, except for all that folder, directory stuff at the end.
- 03-31-2003 #9Just Joined!
- Join Date
- Nov 2002
- Location
- USA
- Posts
- 99
Besides using the 'find' command at a terminal you can also use which or whereis to find gcc.
Type:
which gcc
to display the full path to the gcc binary
and
whereis gcc
to show the paths to the binary and man pages for gcc.


Reply With Quote
