Results 1 to 4 of 4

Thread: Updating $PATH and adding packages

  1. #1
    manimal29 NNTP User

    Default 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!

  2. #2
    ab@novell.com NNTP User

    Default Re: Updating $PATH and adding packages

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    `rpm -q gcc`
    should give you the current version installed, if it is. If not:
    `yast -i gcc` #run as 'root')

    `which gcc`
    Will return the path to gcc if it's there. You could also just type
    'gcc' and see if it does anything useful.

    Good luck.





    manimal29 wrote:
    | 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!
    |
    |
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFIfDv93s42bA80+9kRAuesAJ45pxk/6XPtOZKF6ACq12dzePQN7ACfQxvU
    PQzaVmcU7VCfgOmSe5ufzR0=
    =mHTm
    -----END PGP SIGNATURE-----

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,495
    Blog Entries
    2

    Default Re: Updating $PATH and adding packages

    Something else to consider...

    If you install your libraries (packages) with YAST, unless you similar packages (like multiple versions of Java) the default path will be created for you automatically.

    If you installed multiple versions of the same type of package, then you might have to do some manual configuration (likely post back to this forum with specifics).

  4. #4
    Join Date
    Jun 2008
    Location
    Rome, Italy
    Posts
    248

    Default Re: Updating $PATH and adding packages

    Could also try in a console: which gcc. If it returns with the complete path to gcc it means it is installed. If for some reason you installed gcc in a different location, i mean not in path, you can modify the environment variable PATH. In a console: PATH=your path
    export PATH.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •