How To Install rsyslog-gssapi on Ubuntu 20.04

In this tutorial we learn how to install rsyslog-gssapi on Ubuntu 20.04. rsyslog-gssapi is GSSAPI authentication and encryption support for rsyslog GSSAPI authentication and encryption support for rsyslog

Introduction

In this tutorial we learn how to install rsyslog-gssapi on Ubuntu 20.04.

What is rsyslog-gssapi

rsyslog-gssapi is:

These plugins allow rsyslog to write and/or receive GSSAPI authenticated and encrypted syslog messages. GSSAPI is commonly used for Kerberos authentication.

Package: rsyslog-gssapi Architecture: amd64 Version: 8.2001.0-1ubuntu1 Priority: extra Section: universe/admin Source: rsyslog Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Michael Biebl [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 96 Depends: libc6 (>= 2.15), libgssapi-krb5-2 (>= 1.17), rsyslog (= 8.2001.0-1ubuntu1) Suggests: krb5-user Filename: pool/universe/r/rsyslog/rsyslog-gssapi_8.2001.0-1ubuntu1_amd64.deb Size: 16124 MD5sum: 5e00493febd7119cc2ffbf46b2697c82 SHA1: 3081dd90eb32f0e01021925ad48c45199925ef0d SHA256: 7c0280bd33da8d29b94e593337393f70a6fac0fdea07df2925834cf4eafc877f Homepage: http://www.rsyslog.com/ Description-en: GSSAPI authentication and encryption support for rsyslog These plugins allow rsyslog to write and/or receive GSSAPI authenticated and encrypted syslog messages. GSSAPI is commonly used for Kerberos authentication.

There are three methods to install rsyslog-gssapi on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install rsyslog-gssapi Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install rsyslog-gssapi using apt-get by running the following command:

sudo apt-get -y install rsyslog-gssapi

Install rsyslog-gssapi Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install rsyslog-gssapi using apt by running the following command:

sudo apt -y install rsyslog-gssapi

Install rsyslog-gssapi Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install rsyslog-gssapi using aptitude by running the following command:

sudo aptitude -y install rsyslog-gssapi

How To Uninstall rsyslog-gssapi on Ubuntu 20.04

To uninstall only the rsyslog-gssapi package we can use the following command:

sudo apt-get remove rsyslog-gssapi

Uninstall rsyslog-gssapi And Its Dependencies

To uninstall rsyslog-gssapi and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove rsyslog-gssapi

Remove rsyslog-gssapi Configurations and Data

To remove rsyslog-gssapi configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge rsyslog-gssapi

Remove rsyslog-gssapi configuration, data, and all of its dependencies

We can use the following command to remove rsyslog-gssapi configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge rsyslog-gssapi

References

Summary

In this tutorial we learn how to install rsyslog-gssapi package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.