LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 12: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, 01:50 AM   #2
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
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, 11:24 AM   #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 11:31 AM. Reason: Delete superflous words
 
  


Reply

Tags
gcc, path, version



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-21-2007 11:13 PM
Updating packages from redhat - insatlling *.hdr packages jomy Linux - Networking 1 01-18-2005 08:36 AM
updating packages tommytomato Linux - General 6 09-01-2004 04:31 PM
Pernmanently updating PATH Tamsco Mandriva 3 08-15-2004 05:58 PM
updating packages jogurt666 Debian 2 01-10-2004 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:37 AM.

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
Open Source Consulting | Domain Registration