How To Install tracker-devel on CentOS 8

tracker-devel is Headers for developing programs that will use tracker Headers for developing programs that will use tracker

Introduction

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

What is tracker-devel

This package contains the static libraries and header files needed for developing with tracker tracker-devel 2.1.5 2.el8 x86_64 55 k tracker-2.1.5-2.el8.src.rpm powertools Headers for developing programs that will use tracker https GPLv2+ This package contains the static libraries and header files needed for developing with tracker

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

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

sudo dnf -y install tracker-devel

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

sudo yum -y install tracker-devel

How To Uninstall tracker-devel on CentOS 8

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

sudo dnf remove tracker-devel

tracker-devel Package Contents on CentOS 8

/usr/include/tracker-2.0
/usr/include/tracker-2.0/libtracker-control
/usr/include/tracker-2.0/libtracker-control/tracker-control.h
/usr/include/tracker-2.0/libtracker-control/tracker-miner-manager.h
/usr/include/tracker-2.0/libtracker-miner
/usr/include/tracker-2.0/libtracker-miner/tracker-data-provider.h
/usr/include/tracker-2.0/libtracker-miner/tracker-decorator-fs.h
/usr/include/tracker-2.0/libtracker-miner/tracker-decorator.h
/usr/include/tracker-2.0/libtracker-miner/tracker-indexing-tree.h
/usr/include/tracker-2.0/libtracker-miner/tracker-miner-enum-types.h
/usr/include/tracker-2.0/libtracker-miner/tracker-miner-enums.h
/usr/include/tracker-2.0/libtracker-miner/tracker-miner-fs.h
/usr/include/tracker-2.0/libtracker-miner/tracker-miner-object.h
/usr/include/tracker-2.0/libtracker-miner/tracker-miner-online.h
/usr/include/tracker-2.0/libtracker-miner/tracker-miner-proxy.h
/usr/include/tracker-2.0/libtracker-miner/tracker-miner.h
/usr/include/tracker-2.0/libtracker-sparql
/usr/include/tracker-2.0/libtracker-sparql/tracker-generated.h
/usr/include/tracker-2.0/libtracker-sparql/tracker-namespace-manager.h
/usr/include/tracker-2.0/libtracker-sparql/tracker-notifier.h
/usr/include/tracker-2.0/libtracker-sparql/tracker-ontologies.h
/usr/include/tracker-2.0/libtracker-sparql/tracker-resource.h
/usr/include/tracker-2.0/libtracker-sparql/tracker-sparql.h
/usr/include/tracker-2.0/libtracker-sparql/tracker-version.h
/usr/lib/libtracker-control-2.0.so
/usr/lib/libtracker-miner-2.0.so
/usr/lib/libtracker-sparql-2.0.so
/usr/lib/pkgconfig/tracker-control-2.0.pc
/usr/lib/pkgconfig/tracker-miner-2.0.pc
/usr/lib/pkgconfig/tracker-sparql-2.0.pc
/usr/share/gir-1.0
/usr/share/gir-1.0/Tracker-2.0.gir
/usr/share/gir-1.0/TrackerControl-2.0.gir
/usr/share/gir-1.0/TrackerMiner-2.0.gir
/usr/share/vala
/usr/share/vala/vapi
/usr/share/vala/vapi/tracker-control-2.0.deps
/usr/share/vala/vapi/tracker-control-2.0.vapi
/usr/share/vala/vapi/tracker-miner-2.0.deps
/usr/share/vala/vapi/tracker-miner-2.0.vapi
/usr/share/vala/vapi/tracker-sparql-2.0.deps
/usr/share/vala/vapi/tracker-sparql-2.0.vapi
/usr/include/tracker-2.0
/usr/include/tracker-2.0/libtracker-control
/usr/include/tracker-2.0/libtracker-control/tracker-control.h
/usr/include/tracker-2.0/libtracker-control/tracker-miner-manager.h
/usr/include/tracker-2.0/libtracker-miner
/usr/include/tracker-2.0/libtracker-miner/tracker-data-provider.h
/usr/include/tracker-2.0/libtracker-miner/tracker-decorator-fs.h
/usr/include/tracker-2.0/libtracker-miner/tracker-decorator.h
/usr/include/tracker-2.0/libtracker-miner/tracker-indexing-tree.h
/usr/include/tracker-2.0/libtracker-miner/tracker-miner-enum-types.h
/usr/include/tracker-2.0/libtracker-miner/tracker-miner-enums.h
/usr/include/tracker-2.0/libtracker-miner/tracker-miner-fs.h
/usr/include/tracker-2.0/libtracker-miner/tracker-miner-object.h
/usr/include/tracker-2.0/libtracker-miner/tracker-miner-online.h
/usr/include/tracker-2.0/libtracker-miner/tracker-miner-proxy.h
/usr/include/tracker-2.0/libtracker-miner/tracker-miner.h
/usr/include/tracker-2.0/libtracker-sparql
/usr/include/tracker-2.0/libtracker-sparql/tracker-generated.h
/usr/include/tracker-2.0/libtracker-sparql/tracker-namespace-manager.h
/usr/include/tracker-2.0/libtracker-sparql/tracker-notifier.h
/usr/include/tracker-2.0/libtracker-sparql/tracker-ontologies.h
/usr/include/tracker-2.0/libtracker-sparql/tracker-resource.h
/usr/include/tracker-2.0/libtracker-sparql/tracker-sparql.h
/usr/include/tracker-2.0/libtracker-sparql/tracker-version.h
/usr/lib64/libtracker-control-2.0.so
/usr/lib64/libtracker-miner-2.0.so
/usr/lib64/libtracker-sparql-2.0.so
/usr/lib64/pkgconfig/tracker-control-2.0.pc
/usr/lib64/pkgconfig/tracker-miner-2.0.pc
/usr/lib64/pkgconfig/tracker-sparql-2.0.pc
/usr/share/gir-1.0
/usr/share/gir-1.0/Tracker-2.0.gir
/usr/share/gir-1.0/TrackerControl-2.0.gir
/usr/share/gir-1.0/TrackerMiner-2.0.gir
/usr/share/vala
/usr/share/vala/vapi
/usr/share/vala/vapi/tracker-control-2.0.deps
/usr/share/vala/vapi/tracker-control-2.0.vapi
/usr/share/vala/vapi/tracker-miner-2.0.deps
/usr/share/vala/vapi/tracker-miner-2.0.vapi
/usr/share/vala/vapi/tracker-sparql-2.0.deps
/usr/share/vala/vapi/tracker-sparql-2.0.vapi

References

Summary

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