Information about the package, glib2, which is shipped with common Linux distributions. The glib2 package is designed for, A library of handy utility functions.
Package Name:
glib2
Summary:
A library of handy utility functions
URL:
Description:
GLib is the low-level core library that forms the basis for projects such as GTK+ and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.
Architecture:
x86_64
Version:
2.28.8
Release:
9.el6
Size:
7.7 M
Repository:
installed
From Repository:
base
Licence:
LGPLv2+
Control the glib2 package with the following handy commands outlined below.
yum install glib2
This command will install glib2 on the server.
yum remove glib2
This command will un-install glib2 on the server. When you run this command, you will be asked if you are sure that you want to remove glib2, so you have to manually confirm that you want to do this.
yum -y remove glib2
This command will un-install glib2 on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove glib2 when using the -y flag.
yum update glib2
This command will update glib2 to the latest version. When you run this command, you will be asked if you are sure that you want to remove glib2, so you have to manually confirm that you want to do this.
yum -y update glib2
This command will update glib2 to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove glib2 when using the -y flag.
yum info glib2
This command will show you core information about the glib2 package.
yum deplist glib2
This command will show you the dependencies for glib2. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update glib2
This command will check if there is an update waiting on glib2. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.