Hey guys, I tried posting this to askUbuntu and it didn't seem like the right place and was told to try it here. So here is what I posted and hope someone could help me out.
I currently installed ubuntu 11.10 on my acer netbook overwriting my previous windows starter OS and am having a problem getting some packages I need for an upcoming class. I am using the most updated version and have a wifi connection on my campus. This is what my instructor wishes for us to do:
1. select Applications/Accessories/Terminal on the Ubuntu desktop
2. type ls /usr/include/GL if glut.h gl.h etc are there, great if not, if you are root (prompt #)type apt-get install libglut3-dev if asked, answer yes if you are a user login, type sudo apt-get install libglut3-dev
3. I then copied program1.c to the desktop IF needed you can e-mail files to yourself and use Ubuntu web browser to retrieve
4. cd desktop
5. gcc -lglut -lGLU program1.c note l is a lower-case L, which means library in UNIX
.6. /a.out to execute
I complete step 2, in which returns:
ls: cannot access /usr/include/GL: No such file or directory
so from here I do the apt-get and try to install it but returns me with this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libglut3-dev
Does this have to do with my connection or is there something I need to be doing on my system for it to find the package and install it. I'm really new to ubuntu and could use some help just getting started.