LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing libglut (https://www.linuxquestions.org/questions/linux-newbie-8/installing-libglut-292969/)

tgreiner 02-21-2005 09:37 AM

Installing libglut
 
In a recent posting I asked for help installing wine on my RedHat 9 system. I was getting the response: Unlocateable package: libglut.so.3

The advice I was given directed me to two websites for OpenGL support: rpmfind.net and rpm.pbone.net

Now, my problem. I don't know which file to download. I seach for libglut.so.3 and that search givse me a lot of files to choose from. I pick the one that I think is appropriate for RedHat 9
glut-3.7-12.src.rpm and glut-3.7-12.i386.rpm.

Trying to run/install either file brings up an error window stating:
Could Not Open Package
The file "/root/Root" could not be read. Make sure that you have the proper permissions on it.

I'm doing this from the root directory, and so I don't know how I could not have permissions for anything. Of course, I don't even know if I am trying to access to correct rpm file.

Did I say that I was a newbie? HELP!

Mara 02-21-2005 04:38 PM

You need to be root user to install a package. Are you sure you're opening the file as root? To temporary become root from a terminal run the command su and enter root passwors when you're asked. Then use the command to install the package (rpm -i packagename). In your case the right one is glut-3.7-12.i386.rpm, .src.rpm is source version that you can compile and make normal .rpm. You don't need it so use normal rpm file.


All times are GMT -5. The time now is 09:48 PM.