Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Applications
Reload this Page Do I have GCC? Do I have any applications
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Applications I cant get "X" app to work... also discussion about linux programs.

Reply
 
Thread Tools Display Modes
Old 03-30-2003   #1 (permalink)
Just 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?
deadseasquirrels is offline   Reply With Quote
Old 03-30-2003   #2 (permalink)
Linux User
 
Join Date: Feb 2003
Location: Norway, Asker
Posts: 267
Send a message via ICQ to l_Kriss
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.
l_Kriss is offline   Reply With Quote
Old 03-30-2003   #3 (permalink)
Linux Enthusiast
 
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 556
Send a message via ICQ to yowwww
if gcc -v doesn't work then try gcc -version
yowwww is offline   Reply With Quote
Old 03-30-2003   #4 (permalink)
Just 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?
deadseasquirrels is offline   Reply With Quote
Old 03-30-2003   #5 (permalink)
Linux Enthusiast
 
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 556
Send a message via ICQ to yowwww
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
yowwww is offline   Reply With Quote
Old 03-30-2003   #6 (permalink)
Just 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?
deadseasquirrels is offline   Reply With Quote
Old 03-30-2003   #7 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,575
To find out the significance of different directories, check out this old post.
Dolda2000 is offline   Reply With Quote
Old 03-31-2003   #8 (permalink)
Just Joined!
 
Join Date: Mar 2003
Posts: 57
Thanks that was very helpful, except for all that folder, directory stuff at the end.
deadseasquirrels is offline   Reply With Quote
Old 03-31-2003   #9 (permalink)
Just 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.
slant6 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 10:18 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0