How To Install oddjob on CentOS 8

oddjob is A D-Bus service which runs odd jobs on behalf of client applications

Introduction

In this tutorial we learn how to install oddjob on CentOS 8.

What is oddjob

oddjob is a D-Bus service which performs particular tasks for clients which connect to it and issue requests using the system-wide message bus.

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

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

sudo dnf -y install oddjob

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

sudo yum -y install oddjob

How To Uninstall oddjob on CentOS 8

To uninstall only the oddjob package we can use the following command:

sudo dnf remove oddjob

oddjob Package Contents on CentOS 8

/etc/dbus-1/system.d/oddjob.conf
/etc/oddjob
/etc/oddjobd.conf
/etc/oddjobd.conf.d
/etc/oddjobd.conf.d/oddjobd-introspection.conf
/usr/bin/oddjob_request
/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/afa40e140bfdcd8714aba39c20bf4a5221d07d
/usr/lib/.build-id/59
/usr/lib/.build-id/59/fb71fa856ac10b223d972aa5e980b0caf9fd45
/usr/lib/systemd/system/oddjobd.service
/usr/libexec/oddjob
/usr/libexec/oddjob/sanity.sh
/usr/sbin/oddjobd
/usr/share/doc/oddjob
/usr/share/doc/oddjob/COPYING
/usr/share/doc/oddjob/NEWS
/usr/share/doc/oddjob/QUICKSTART
/usr/share/doc/oddjob/oddjob.html
/usr/share/doc/oddjob/oddjobconfig.dtd
/usr/share/doc/oddjob/reload
/usr/share/doc/oddjob/sample
/usr/share/doc/oddjob/sample/etc
/usr/share/doc/oddjob/sample/etc/dbus-1
/usr/share/doc/oddjob/sample/etc/dbus-1/system.d
/usr/share/doc/oddjob/sample/etc/dbus-1/system.d/oddjob-sample.conf
/usr/share/doc/oddjob/sample/etc/oddjobd.conf.d
/usr/share/doc/oddjob/sample/etc/oddjobd.conf.d/oddjobd-sample.conf
/usr/share/doc/oddjob/sample/usr
/usr/share/doc/oddjob/sample/usr/lib64
/usr/share/doc/oddjob/sample/usr/lib64/oddjob
/usr/share/doc/oddjob/sample/usr/lib64/oddjob/oddjob-sample.sh
/usr/share/man/man1/oddjob_request.1.gz
/usr/share/man/man5/oddjob.conf.5.gz
/usr/share/man/man5/oddjobd-introspection.conf.5.gz
/usr/share/man/man5/oddjobd.conf.5.gz
/usr/share/man/man8/oddjobd.8.gz

References

Summary

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