How To Install bacula-client on CentOS 8

bacula-client is Bacula backup client

Introduction

In this tutorial we learn how to install bacula-client on CentOS 8.

What is bacula-client

Bacula is a set of programs that allow you to manage the backup, recovery, and verification of computer data across a network of different computers. It is based on a client/server architecture. This package contains the bacula client, the daemon running on the system to be backed up.

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

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

sudo dnf -y install bacula-client

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

sudo yum -y install bacula-client

How To Uninstall bacula-client on CentOS 8

To uninstall only the bacula-client package we can use the following command:

sudo dnf remove bacula-client

bacula-client Package Contents on CentOS 8

/etc/bacula/bacula-fd.conf
/etc/sysconfig/bacula-fd
/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/2082e12a0c4f4b22a6fb40a005819320ad01fd
/usr/lib/.build-id/35
/usr/lib/.build-id/35/a06d6bff71896c3239dca4c73bf44c993982d5
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/330e3b88275b4d4bf40a3e5ace3209a2a4794a
/usr/lib/systemd/system/bacula-fd.service
/usr/lib64/bacula/bpipe-fd.so
/usr/sbin/bacula-fd
/usr/sbin/bfdjson
/usr/share/man/man8/bacula-fd.8.gz

References

Summary

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