How To Install snapd-glib-devel on CentOS 8

snapd-glib-devel is Development files for snapd-glib

Introduction

In this tutorial we learn how to install snapd-glib-devel on CentOS 8.

What is snapd-glib-devel

This package provides the files for developing applications that use snapd-glib to communicate with snapd.

We can use yum or dnf to install snapd-glib-devel on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install snapd-glib-devel.

Install snapd-glib-devel on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install snapd-glib-devel using dnf by running the following command:

sudo dnf -y install snapd-glib-devel

Install snapd-glib-devel on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install snapd-glib-devel using yum by running the following command:

sudo yum -y install snapd-glib-devel

How To Uninstall snapd-glib-devel on CentOS 8

To uninstall only the snapd-glib-devel package we can use the following command:

sudo dnf remove snapd-glib-devel

snapd-glib-devel Package Contents on CentOS 8

/usr/include/snapd-glib
/usr/include/snapd-glib/snapd-glib
/usr/include/snapd-glib/snapd-glib/snapd-alias.h
/usr/include/snapd-glib/snapd-glib/snapd-app.h
/usr/include/snapd-glib/snapd-glib/snapd-assertion.h
/usr/include/snapd-glib/snapd-glib/snapd-auth-data.h
/usr/include/snapd-glib/snapd-glib/snapd-change.h
/usr/include/snapd-glib/snapd-glib/snapd-channel.h
/usr/include/snapd-glib/snapd-glib/snapd-client.h
/usr/include/snapd-glib/snapd-glib/snapd-connection.h
/usr/include/snapd-glib/snapd-glib/snapd-enum-types.h
/usr/include/snapd-glib/snapd-glib/snapd-error.h
/usr/include/snapd-glib/snapd-glib/snapd-glib.h
/usr/include/snapd-glib/snapd-glib/snapd-icon.h
/usr/include/snapd-glib/snapd-glib/snapd-interface.h
/usr/include/snapd-glib/snapd-glib/snapd-login.h
/usr/include/snapd-glib/snapd-glib/snapd-maintenance.h
/usr/include/snapd-glib/snapd-glib/snapd-markdown-node.h
/usr/include/snapd-glib/snapd-glib/snapd-markdown-parser.h
/usr/include/snapd-glib/snapd-glib/snapd-media.h
/usr/include/snapd-glib/snapd-glib/snapd-plug-ref.h
/usr/include/snapd-glib/snapd-glib/snapd-plug.h
/usr/include/snapd-glib/snapd-glib/snapd-price.h
/usr/include/snapd-glib/snapd-glib/snapd-screenshot.h
/usr/include/snapd-glib/snapd-glib/snapd-slot-ref.h
/usr/include/snapd-glib/snapd-glib/snapd-slot.h
/usr/include/snapd-glib/snapd-glib/snapd-snap.h
/usr/include/snapd-glib/snapd-glib/snapd-system-information.h
/usr/include/snapd-glib/snapd-glib/snapd-task.h
/usr/include/snapd-glib/snapd-glib/snapd-user-information.h
/usr/include/snapd-glib/snapd-glib/snapd-version.h
/usr/lib64/libsnapd-glib.so
/usr/lib64/pkgconfig/snapd-glib.pc
/usr/share/gir-1.0/Snapd-1.gir
/usr/share/gtk-doc/html/snapd-glib
/usr/share/gtk-doc/html/snapd-glib/SnapdAlias.html
/usr/share/gtk-doc/html/snapd-glib/SnapdApp.html
/usr/share/gtk-doc/html/snapd-glib/SnapdAssertion.html
/usr/share/gtk-doc/html/snapd-glib/SnapdAuthData.html
/usr/share/gtk-doc/html/snapd-glib/SnapdChange.html
/usr/share/gtk-doc/html/snapd-glib/SnapdChannel.html
/usr/share/gtk-doc/html/snapd-glib/SnapdClient.html
/usr/share/gtk-doc/html/snapd-glib/SnapdConnection.html
/usr/share/gtk-doc/html/snapd-glib/SnapdIcon.html
/usr/share/gtk-doc/html/snapd-glib/SnapdInterface.html
/usr/share/gtk-doc/html/snapd-glib/SnapdMaintenance.html
/usr/share/gtk-doc/html/snapd-glib/SnapdMarkdownNode.html
/usr/share/gtk-doc/html/snapd-glib/SnapdMarkdownParser.html
/usr/share/gtk-doc/html/snapd-glib/SnapdMedia.html
/usr/share/gtk-doc/html/snapd-glib/SnapdPlug.html
/usr/share/gtk-doc/html/snapd-glib/SnapdPlugRef.html
/usr/share/gtk-doc/html/snapd-glib/SnapdPrice.html
/usr/share/gtk-doc/html/snapd-glib/SnapdScreenshot.html
/usr/share/gtk-doc/html/snapd-glib/SnapdSlot.html
/usr/share/gtk-doc/html/snapd-glib/SnapdSlotRef.html
/usr/share/gtk-doc/html/snapd-glib/SnapdSnap.html
/usr/share/gtk-doc/html/snapd-glib/SnapdSystemInformation.html
/usr/share/gtk-doc/html/snapd-glib/SnapdTask.html
/usr/share/gtk-doc/html/snapd-glib/SnapdUserInformation.html
/usr/share/gtk-doc/html/snapd-glib/annotation-glossary.html
/usr/share/gtk-doc/html/snapd-glib/api-index-full.html
/usr/share/gtk-doc/html/snapd-glib/ch01.html
/usr/share/gtk-doc/html/snapd-glib/home.png
/usr/share/gtk-doc/html/snapd-glib/index.html
/usr/share/gtk-doc/html/snapd-glib/left-insensitive.png
/usr/share/gtk-doc/html/snapd-glib/left.png
/usr/share/gtk-doc/html/snapd-glib/object-tree.html
/usr/share/gtk-doc/html/snapd-glib/right-insensitive.png
/usr/share/gtk-doc/html/snapd-glib/right.png
/usr/share/gtk-doc/html/snapd-glib/snapd-glib-Errors.html
/usr/share/gtk-doc/html/snapd-glib/snapd-glib-Version-Information.html
/usr/share/gtk-doc/html/snapd-glib/snapd-glib-snapd-login().html
/usr/share/gtk-doc/html/snapd-glib/snapd-glib.devhelp2
/usr/share/gtk-doc/html/snapd-glib/style.css
/usr/share/gtk-doc/html/snapd-glib/up-insensitive.png
/usr/share/gtk-doc/html/snapd-glib/up.png
/usr/share/vala/vapi/snapd-glib.deps
/usr/share/vala/vapi/snapd-glib.vapi

References

Summary

In this tutorial we learn how to install snapd-glib-devel on CentOS 8 using yum and dnf.