installing header file












1















I have downloaded GLUI 2.35 from http://glui.sourceforge.net/ to my desktop as zip file. But, What should I do in order to use GLUI in the code as shown below ;



   #include < GL/glui.h >


How can I do that in ubuntu 12.04 ?










share|improve this question





























    1















    I have downloaded GLUI 2.35 from http://glui.sourceforge.net/ to my desktop as zip file. But, What should I do in order to use GLUI in the code as shown below ;



       #include < GL/glui.h >


    How can I do that in ubuntu 12.04 ?










    share|improve this question



























      1












      1








      1








      I have downloaded GLUI 2.35 from http://glui.sourceforge.net/ to my desktop as zip file. But, What should I do in order to use GLUI in the code as shown below ;



         #include < GL/glui.h >


      How can I do that in ubuntu 12.04 ?










      share|improve this question
















      I have downloaded GLUI 2.35 from http://glui.sourceforge.net/ to my desktop as zip file. But, What should I do in order to use GLUI in the code as shown below ;



         #include < GL/glui.h >


      How can I do that in ubuntu 12.04 ?







      12.04 opengl






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 26 '12 at 14:55







      jques

















      asked Nov 26 '12 at 14:40









      jquesjques

      115




      115






















          3 Answers
          3






          active

          oldest

          votes


















          1














          I suggest, instead, you do:



              sudo apt-get install libglui2c2 libglui-dev


          These are version 2.36 and built for Ubuntu.






          share|improve this answer
























          • But I do not have any internet connection to my home machine.

            – jques
            Nov 26 '12 at 14:54











          • packages.ubuntu.com/precise/libglui2c2

            – chili555
            Nov 26 '12 at 14:56











          • can I install from zip file since I download as zip file?

            – jques
            Nov 26 '12 at 14:58





















          0














          Please go here http://packages.ubuntu.com/precise/libglui2c2 and here http://packages.ubuntu.com/precise/libglui-dev. Download the .deb packages to another computer, as well as the dependencies (red dots) and transfer to your Ubuntu machine. Install all the packages with: sudo dpkg -i *.deb. If you could compile the package you linked, which I doubt highly, since it appears to be built in 2005 (!!), it would require most of these dependencies and many more.






          share|improve this answer
























          • can I run sudo apt-get install <file from desktop> <file from desktop> to install from desktop

            – jques
            Nov 26 '12 at 15:08













          • No. You will be downoading .deb files. They are installed with sudo dpkg -i Desktop/*.deb. The wildcard * means install all the debs.

            – chili555
            Nov 26 '12 at 15:26



















          0














          Get the deb files:



          https://debian.pkgs.org/7/debian-main-amd64/libglui2c2_2.36-4_amd64.deb.html and
          https://debian.pkgs.org/7/debian-main-amd64/libglui-dev_2.36-4_amd64.deb.html



          Then use the package manager to install



          sudo dpkg -i libglui2c2_2.36-4_amd64.deb

          sudo dpkg -i libglui-dev_2.36-4_amd64.deb





          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f222169%2finstalling-header-file%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            I suggest, instead, you do:



                sudo apt-get install libglui2c2 libglui-dev


            These are version 2.36 and built for Ubuntu.






            share|improve this answer
























            • But I do not have any internet connection to my home machine.

              – jques
              Nov 26 '12 at 14:54











            • packages.ubuntu.com/precise/libglui2c2

              – chili555
              Nov 26 '12 at 14:56











            • can I install from zip file since I download as zip file?

              – jques
              Nov 26 '12 at 14:58


















            1














            I suggest, instead, you do:



                sudo apt-get install libglui2c2 libglui-dev


            These are version 2.36 and built for Ubuntu.






            share|improve this answer
























            • But I do not have any internet connection to my home machine.

              – jques
              Nov 26 '12 at 14:54











            • packages.ubuntu.com/precise/libglui2c2

              – chili555
              Nov 26 '12 at 14:56











            • can I install from zip file since I download as zip file?

              – jques
              Nov 26 '12 at 14:58
















            1












            1








            1







            I suggest, instead, you do:



                sudo apt-get install libglui2c2 libglui-dev


            These are version 2.36 and built for Ubuntu.






            share|improve this answer













            I suggest, instead, you do:



                sudo apt-get install libglui2c2 libglui-dev


            These are version 2.36 and built for Ubuntu.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 26 '12 at 14:51









            chili555chili555

            38.4k55177




            38.4k55177













            • But I do not have any internet connection to my home machine.

              – jques
              Nov 26 '12 at 14:54











            • packages.ubuntu.com/precise/libglui2c2

              – chili555
              Nov 26 '12 at 14:56











            • can I install from zip file since I download as zip file?

              – jques
              Nov 26 '12 at 14:58





















            • But I do not have any internet connection to my home machine.

              – jques
              Nov 26 '12 at 14:54











            • packages.ubuntu.com/precise/libglui2c2

              – chili555
              Nov 26 '12 at 14:56











            • can I install from zip file since I download as zip file?

              – jques
              Nov 26 '12 at 14:58



















            But I do not have any internet connection to my home machine.

            – jques
            Nov 26 '12 at 14:54





            But I do not have any internet connection to my home machine.

            – jques
            Nov 26 '12 at 14:54













            packages.ubuntu.com/precise/libglui2c2

            – chili555
            Nov 26 '12 at 14:56





            packages.ubuntu.com/precise/libglui2c2

            – chili555
            Nov 26 '12 at 14:56













            can I install from zip file since I download as zip file?

            – jques
            Nov 26 '12 at 14:58







            can I install from zip file since I download as zip file?

            – jques
            Nov 26 '12 at 14:58















            0














            Please go here http://packages.ubuntu.com/precise/libglui2c2 and here http://packages.ubuntu.com/precise/libglui-dev. Download the .deb packages to another computer, as well as the dependencies (red dots) and transfer to your Ubuntu machine. Install all the packages with: sudo dpkg -i *.deb. If you could compile the package you linked, which I doubt highly, since it appears to be built in 2005 (!!), it would require most of these dependencies and many more.






            share|improve this answer
























            • can I run sudo apt-get install <file from desktop> <file from desktop> to install from desktop

              – jques
              Nov 26 '12 at 15:08













            • No. You will be downoading .deb files. They are installed with sudo dpkg -i Desktop/*.deb. The wildcard * means install all the debs.

              – chili555
              Nov 26 '12 at 15:26
















            0














            Please go here http://packages.ubuntu.com/precise/libglui2c2 and here http://packages.ubuntu.com/precise/libglui-dev. Download the .deb packages to another computer, as well as the dependencies (red dots) and transfer to your Ubuntu machine. Install all the packages with: sudo dpkg -i *.deb. If you could compile the package you linked, which I doubt highly, since it appears to be built in 2005 (!!), it would require most of these dependencies and many more.






            share|improve this answer
























            • can I run sudo apt-get install <file from desktop> <file from desktop> to install from desktop

              – jques
              Nov 26 '12 at 15:08













            • No. You will be downoading .deb files. They are installed with sudo dpkg -i Desktop/*.deb. The wildcard * means install all the debs.

              – chili555
              Nov 26 '12 at 15:26














            0












            0








            0







            Please go here http://packages.ubuntu.com/precise/libglui2c2 and here http://packages.ubuntu.com/precise/libglui-dev. Download the .deb packages to another computer, as well as the dependencies (red dots) and transfer to your Ubuntu machine. Install all the packages with: sudo dpkg -i *.deb. If you could compile the package you linked, which I doubt highly, since it appears to be built in 2005 (!!), it would require most of these dependencies and many more.






            share|improve this answer













            Please go here http://packages.ubuntu.com/precise/libglui2c2 and here http://packages.ubuntu.com/precise/libglui-dev. Download the .deb packages to another computer, as well as the dependencies (red dots) and transfer to your Ubuntu machine. Install all the packages with: sudo dpkg -i *.deb. If you could compile the package you linked, which I doubt highly, since it appears to be built in 2005 (!!), it would require most of these dependencies and many more.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 26 '12 at 15:04









            chili555chili555

            38.4k55177




            38.4k55177













            • can I run sudo apt-get install <file from desktop> <file from desktop> to install from desktop

              – jques
              Nov 26 '12 at 15:08













            • No. You will be downoading .deb files. They are installed with sudo dpkg -i Desktop/*.deb. The wildcard * means install all the debs.

              – chili555
              Nov 26 '12 at 15:26



















            • can I run sudo apt-get install <file from desktop> <file from desktop> to install from desktop

              – jques
              Nov 26 '12 at 15:08













            • No. You will be downoading .deb files. They are installed with sudo dpkg -i Desktop/*.deb. The wildcard * means install all the debs.

              – chili555
              Nov 26 '12 at 15:26

















            can I run sudo apt-get install <file from desktop> <file from desktop> to install from desktop

            – jques
            Nov 26 '12 at 15:08







            can I run sudo apt-get install <file from desktop> <file from desktop> to install from desktop

            – jques
            Nov 26 '12 at 15:08















            No. You will be downoading .deb files. They are installed with sudo dpkg -i Desktop/*.deb. The wildcard * means install all the debs.

            – chili555
            Nov 26 '12 at 15:26





            No. You will be downoading .deb files. They are installed with sudo dpkg -i Desktop/*.deb. The wildcard * means install all the debs.

            – chili555
            Nov 26 '12 at 15:26











            0














            Get the deb files:



            https://debian.pkgs.org/7/debian-main-amd64/libglui2c2_2.36-4_amd64.deb.html and
            https://debian.pkgs.org/7/debian-main-amd64/libglui-dev_2.36-4_amd64.deb.html



            Then use the package manager to install



            sudo dpkg -i libglui2c2_2.36-4_amd64.deb

            sudo dpkg -i libglui-dev_2.36-4_amd64.deb





            share|improve this answer






























              0














              Get the deb files:



              https://debian.pkgs.org/7/debian-main-amd64/libglui2c2_2.36-4_amd64.deb.html and
              https://debian.pkgs.org/7/debian-main-amd64/libglui-dev_2.36-4_amd64.deb.html



              Then use the package manager to install



              sudo dpkg -i libglui2c2_2.36-4_amd64.deb

              sudo dpkg -i libglui-dev_2.36-4_amd64.deb





              share|improve this answer




























                0












                0








                0







                Get the deb files:



                https://debian.pkgs.org/7/debian-main-amd64/libglui2c2_2.36-4_amd64.deb.html and
                https://debian.pkgs.org/7/debian-main-amd64/libglui-dev_2.36-4_amd64.deb.html



                Then use the package manager to install



                sudo dpkg -i libglui2c2_2.36-4_amd64.deb

                sudo dpkg -i libglui-dev_2.36-4_amd64.deb





                share|improve this answer















                Get the deb files:



                https://debian.pkgs.org/7/debian-main-amd64/libglui2c2_2.36-4_amd64.deb.html and
                https://debian.pkgs.org/7/debian-main-amd64/libglui-dev_2.36-4_amd64.deb.html



                Then use the package manager to install



                sudo dpkg -i libglui2c2_2.36-4_amd64.deb

                sudo dpkg -i libglui-dev_2.36-4_amd64.deb






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 8 at 18:39









                tinlyx

                78921023




                78921023










                answered Jan 8 at 17:26









                user911836user911836

                1




                1






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f222169%2finstalling-header-file%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Human spaceflight

                    Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                    File:DeusFollowingSea.jpg