如何安装 gio-unix-2.28.0

Rob*_*ert 10 installation package-management libraries

当我安装应用程序 (libvirt-sandbox-0.1.2) 时,我收到以下消息:

configure: error: Package requirements (gio-unix-2.0 >= 2.28.0) were not met:

No package 'gio-unix-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GIO_UNIX_CFLAGS
and GIO_UNIX_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Run Code Online (Sandbox Code Playgroud)

如何安装这些库?

sou*_*rce 18

如果我没记错的话,GIO 是 glib 的一部分。既然你似乎想根据 in 编译软件,我猜你应该安装 libglib2.0-dev

sudo apt-get install libglib2.0-dev
Run Code Online (Sandbox Code Playgroud)