Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    need help locating file

    I recently installed scientific linux 6 and I need opengl. I need help finding the header files gl.h and glut.h on my system...that is if they are there. Can anyone help?

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Boston, MA
    You probably need the freeglut development files. I don't know what the packages are called in SL, but if you do a search you should be able to find them. It's probably freeglut-devel or something similar.

    yum search freeglut

  3. #3
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Harrow, UK
    A quick way to find files (and whether or not you have them in the first place) is to use the locate command. It depends on a database, so it may not be bang up to date, but most distros update the database daily. If the named file is anywhere on your system, its full path will be shown. If you get no output, the file is not there.

    Headers are always stored under /usr/include so going there and using the find command is another option.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  4. $spacer_open
  5. #4


    well i used the yum search freeglut command and it said:

    ============================== Matched: freeglut ===============================
    freeglut-devel.i686 : Freeglut developmental libraries and header files
    freeglut.i686 : A freely licensed alternative to the GLUT library

    then i searched the user/include area and there were no header files for it.

  6. #5
    Linux Engineer
    Join Date
    Jan 2005
    Saint Paul, MN
    Of course the grand daddie of the tools to find a file is called "find" it is run from the command line. It is very powerful and hence has lots of options. Refer to the man page for it.

Posting Permissions

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