How To Install snapd-qt-devel on CentOS 8

snapd-qt-devel is Development files for snapd-qt

Introduction

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

What is snapd-qt-devel

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

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

Install snapd-qt-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-qt-devel using dnf by running the following command:

sudo dnf -y install snapd-qt-devel

Install snapd-qt-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-qt-devel using yum by running the following command:

sudo yum -y install snapd-qt-devel

How To Uninstall snapd-qt-devel on CentOS 8

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

sudo dnf remove snapd-qt-devel

snapd-qt-devel Package Contents on CentOS 8

/usr/include/snapd-qt
/usr/include/snapd-qt/Snapd
/usr/include/snapd-qt/Snapd/Alias
/usr/include/snapd-qt/Snapd/App
/usr/include/snapd-qt/Snapd/Assertion
/usr/include/snapd-qt/Snapd/AuthData
/usr/include/snapd-qt/Snapd/Change
/usr/include/snapd-qt/Snapd/Channel
/usr/include/snapd-qt/Snapd/Client
/usr/include/snapd-qt/Snapd/Connection
/usr/include/snapd-qt/Snapd/Enums
/usr/include/snapd-qt/Snapd/Icon
/usr/include/snapd-qt/Snapd/Interface
/usr/include/snapd-qt/Snapd/Maintenance
/usr/include/snapd-qt/Snapd/MarkdownNode
/usr/include/snapd-qt/Snapd/MarkdownParser
/usr/include/snapd-qt/Snapd/Media
/usr/include/snapd-qt/Snapd/Plug
/usr/include/snapd-qt/Snapd/PlugRef
/usr/include/snapd-qt/Snapd/Price
/usr/include/snapd-qt/Snapd/Request
/usr/include/snapd-qt/Snapd/Screenshot
/usr/include/snapd-qt/Snapd/Slot
/usr/include/snapd-qt/Snapd/SlotRef
/usr/include/snapd-qt/Snapd/Snap
/usr/include/snapd-qt/Snapd/SystemInformation
/usr/include/snapd-qt/Snapd/Task
/usr/include/snapd-qt/Snapd/UserInformation
/usr/include/snapd-qt/Snapd/WrappedObject
/usr/include/snapd-qt/Snapd/alias.h
/usr/include/snapd-qt/Snapd/app.h
/usr/include/snapd-qt/Snapd/assertion.h
/usr/include/snapd-qt/Snapd/auth-data.h
/usr/include/snapd-qt/Snapd/change.h
/usr/include/snapd-qt/Snapd/channel.h
/usr/include/snapd-qt/Snapd/client.h
/usr/include/snapd-qt/Snapd/connection.h
/usr/include/snapd-qt/Snapd/enums.h
/usr/include/snapd-qt/Snapd/icon.h
/usr/include/snapd-qt/Snapd/interface.h
/usr/include/snapd-qt/Snapd/maintenance.h
/usr/include/snapd-qt/Snapd/markdown-node.h
/usr/include/snapd-qt/Snapd/markdown-parser.h
/usr/include/snapd-qt/Snapd/media.h
/usr/include/snapd-qt/Snapd/plug-ref.h
/usr/include/snapd-qt/Snapd/plug.h
/usr/include/snapd-qt/Snapd/price.h
/usr/include/snapd-qt/Snapd/request.h
/usr/include/snapd-qt/Snapd/screenshot.h
/usr/include/snapd-qt/Snapd/slot-ref.h
/usr/include/snapd-qt/Snapd/slot.h
/usr/include/snapd-qt/Snapd/snap.h
/usr/include/snapd-qt/Snapd/system-information.h
/usr/include/snapd-qt/Snapd/task.h
/usr/include/snapd-qt/Snapd/user-information.h
/usr/include/snapd-qt/Snapd/wrapped-object.h
/usr/lib64/cmake/Snapd
/usr/lib64/cmake/Snapd/SnapdConfig.cmake
/usr/lib64/cmake/Snapd/SnapdConfigVersion.cmake
/usr/lib64/libsnapd-qt.so
/usr/lib64/pkgconfig/snapd-qt.pc

References

Summary

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