我在 Ubuntu 软件中找不到任何要安装的库。在之前的 Ubuntu 16.04 中,当我输入时,libgtk
我得到了一些结果。新 Ubuntu 软件没有返回任何结果。
是否可以在 Ubuntu 软件中查找库或仅查找应用程序?
我知道 Synaptic 包管理器。
答案1
另外还有 2 个不错的选择可以添加到软件中心和 Synaptic 包管理器:
1. 使用‘apt-cache search’
您可以打开终端并搜索所有-dev附加到 libgtk 的文件如下:
andrew@athens:~$ apt-cache search libgtk | grep dev
libgtksourceview-3.0-dev - development files for the GTK+ syntax highlighting widget
libgtkspell-dev - Development files for GtkSpell
libgtkspell3-3-dev - Development files for GtkSpell
libgtk-3-dev - development files for the GTK+ library
libgtk2.0-cil-dev - CLI binding for the GTK+ toolkit 2.12
libgtk2.0-dev - development files for the GTK+ library
libgtkmm-2.4-dev - C++ wrappers for GTK+ (development files)
libgtkmm-3.0-dev - C++ wrappers for GTK+ (development files)
libgtk-sharp-beans2.0-cil-dev - Supplementary CLI bindings for GTK 2.14+ - development package
libgtk-vnc-1.0-dev - VNC viewer widget for GTK+2 (development files)
libgtk-vnc-2.0-dev - VNC viewer widget for GTK+3 (development files)
libgtkada-bin - Ada binding for the GTK+ GUI (development utilities)
libgtkada2.24.4-dev - Ada binding for the GTK+ GUI (development files)
libgtkdatabox-0.9.2-0-dev - Gtk+ library to display large amounts of numerical data (development)
libgtkdataboxmm-dev - C++ bindings for GtkDatabox - development files
libgtkglada2.24.4-dev - Ada binding for GTK+ OpenGL extensions (development files)
libgtkglext1-dev - OpenGL Extension to GTK+ (development files)
libgtkglextmm-x11-1.2-dev - C++ bindings for GtkGLExt (Development files)
libgtkhex-3-dev - GNOME Hex editor for files (development headers)
libgtkhotkey-dev - Gtk hotkey static libraries and headers
libgtkimageview-dev - image viewer widget for GTK+ (development files)
libgtkmathview-dev - rendering engine for MathML documents
libgtkpod-dev - main library for the gtkpod package, development kit
libgtksourceview2.0-dev - development files for the GTK+ syntax highlighting widget
libgtksourceviewmm-3.0-dev - C++ binding of GtkSourceView - development files
liblablgtkmathview-ocaml-dev - OCaml bindings for libgtkmathview, a GTK widget to render MathML
liblablgtksourceview2-ocaml-dev - OCaml bindings for libgtksourceview2, a source editor GTK+ widget
libgtk-dotnet3.0-cil-dev - GTK.NET library - development files
libgtk3.0-cil-dev - CLI binding for the GTK+ toolkit 3.0
libgtkextra-dev - development files for libgtkextra-x11-3.0
libgtkgl2.0-dev - OpenGL context support for GTK+ (development files)
libgtkspellmm-3.0-dev - C++ wrapper library for GtkSpell (development files)
andrew@athens:~$
此类搜索的变化仅受限于您对正则表达式的了解:)。
2. 使用网络...
我经常使用这里非常好用的基于网络的搜索:
Ubuntu 软件包搜索
http://packages.ubuntu.com/
有很多种方式可以通过 Ubuntu 版本、软件包名称、文件名等进行搜索。在 Xenial 下简单搜索 libgtk可以在这里看到...
还有其他几种可能性,但希望这能帮助您入门......