LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-15-2008, 01:42 AM   #1
manimal29
LQ Newbie
 
Registered: Jun 2008
Posts: 11

Rep: Reputation: 0
Updating $PATH and adding packages


I need some guidance. I am using the 32 bit SuSe 11.0 gnome and I tried to update my nvidia driver to the latest version. When trying to install the driver, the installation fails saying that I am missing the development tool "cc" and to make sure that "gcc" is installed. It goes on to say that if it is installed, it needs to be in my path. So, two questions...
How do I check to see if gcc is installed and how do I add it to my path? Any/all help is GREATLY appreciated!
 
Old 07-15-2008, 02:50 AM   #2
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-current
Posts: 780

Rep: Reputation: 66
If you type as user
Code:
gcc --version
And it gives you something along the lines of
Code:
gcc (GCC) 4.2.3
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
then it is installed and in your $PATH.

Cheers.
 
Old 07-15-2008, 12:24 PM   #3
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
Smile

Quote:
Originally Posted by manimal29 View Post
I need some guidance. I am using the 32 bit SuSe 11.0 gnome and I tried to update my nvidia driver to the latest version. When trying to install the driver, the installation fails saying that I am missing the development tool "cc" and to make sure that "gcc" is installed. It goes on to say that if it is installed, it needs to be in my path. So, two questions...
How do I check to see if gcc is installed and how do I add it to my path? Any/all help is GREATLY appreciated!

might try "echo $PATH" and "locate nvidia" and "locate gcc" and "ps -ef | grep gcc" and "ps -ef | nvidia"

Last edited by john test; 07-15-2008 at 12:31 PM. Reason: Delete superflous words
 
  


Reply

Tags
gcc, path, version


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
updating /usr/bin/ld path ??? n00bDanimal Linux - Newbie 6 03-22-2007 12:13 AM
Updating packages from redhat - insatlling *.hdr packages jomy Linux - Networking 1 01-18-2005 09:36 AM
updating packages tommytomato Linux - General 6 09-01-2004 05:31 PM
Pernmanently updating PATH Tamsco Mandriva 3 08-15-2004 06:58 PM
updating packages jogurt666 Debian 2 01-10-2004 02:11 PM


All times are GMT -5. The time now is 07:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration