GLib
1.1、GLib简介
是什么 ?:contains low-level libraries useful for providing data structure handling for C, portability wrappers and interfaces for such runtime functionality as an event loop, threads, dynamic loading and an object system.
开发语言:C
开发组织:GNOME
官方主页:https://developer.gnome.org/glib
源码仓库:https://gitlab.gnome.org/GNOME/glib
1.2、通过包管理器安装GLib
操作系统包管理器安装命令
macOSHomeBrewbrew install glib
GNU/LinuxLinuxBrewbrew install glib
aptsudo apt-get install -y glib
CentOSyumsudo yum install -y glib
dnfsudo dnf install -y glib
openSUSEzyppersudo zypper install -y glib
Alpine Linuxapksudo apk add glib

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm glib
Gentoo LinuxPortagesudo emerge glib
1.3、通过编译源码安装GLib
1.4、GLib中包含的命令
1.5、GLib中包含的头文件
1.6、GLib中包含的库文件
  • libglib-2.0.so