答案1
答案2
当我在编译时遇到此类情况时,我通常会在中搜索apt-cache
。
例如,如果程序抱怨缺少libglut.so.3
,我将删除该lib
部分和所有扩展名,然后仅使用 进行搜索glut
。以这种方式搜索返回此结果
libkwinglutils7 - KDE window manager gl utils library
libkwinglutils6 - KDE window manager gl utils library
libkwinglutils1abi3 - library with OpenGL utilities for the KDE window manager
libkwinactiveglutils1abi3 - library used by accellaration for the KDE window manager Active
freeglut3 - OpenGL Utility Toolkit
python-opengl - Python bindings to OpenGL (Python 2)
libkwinglutils1 - library used by accellaration for the KDE window manager
freeglut3-dbg - OpenGL Utility Toolkit debugging information
freeglut3-dev - OpenGL Utility Toolkit development files
libghc-glut-dev - Haskell GLUT binding for GHC
libghc-glut-doc - Haskell GLUT binding for GHC; documentation
libghc-glut-prof - Haskell GLUT binding for GHC; profiling libraries
libhugs-glut-bundled - A binding for the OpenGL Utility Toolkit
libmgl-glut7.4.0 - library for scientific graphs (glut interface for windows)
libtaoframework-freeglut-cil-dev - Tao CLI binding for freeglut - development files
libtaoframework-freeglut2.4-cil - Tao CLI binding for freeglut
pfsglview - command line HDR manipulation programs (OpenGL/GLUT viewer)
mgltools-mglutil - Molecular Graphics Laboratory utility collection
现在,我只会考虑带有-dev
后缀的软件包,因为这些是带有开发库的软件包。只有两个。freeglut3-dev
和libghc-glut-dev
。我会选择,freeglut3-dev
因为它看起来最相关。