How To Install libsss-sudo on Ubuntu 20.04

In this tutorial we learn how to install libsss-sudo on Ubuntu 20.04. libsss-sudo is Communicator library for sudo Communicator library for sudo Communicator library for sudo

Introduction

In this tutorial we learn how to install libsss-sudo on Ubuntu 20.04.

What is libsss-sudo

libsss-sudo is:

Utility library to allow communication between sudo and SSSD for caching sudo rules by SSSD.

Package: libsss-sudo Architecture: amd64 Version: 2.2.3-3ubuntu0.1 Priority: extra Section: libs Source: sssd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian SSSD Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 59 Depends: libc6 (>= 2.28) Replaces: libsss-sudo-dev (<= 1.9.3) Filename: pool/main/s/sssd/libsss-sudo_2.2.3-3ubuntu0.1_amd64.deb Size: 13288 MD5sum: 3ac2a3fe6d954ed383fd6ad00040b54d SHA1: a6a2d91d2c151622a05cbd2aa7f996754f2a70c2 SHA256: 1cb9c672b1b8ba6a0d08e028f584fb76e81c63f21695d232bd620b1bcdaee00e SHA512: 2573a65c2691e9aa88071a31248dc3b557c3d92eb3abf7b7d91444c6f66685f281d3b2f5b4772b51bb49b096b9aa4ff1760ffc5e2298f8209ed14bed22e36fdb Homepage: https://github.com/SSSD/sssd Description-en: Communicator library for sudo Utility library to allow communication between sudo and SSSD for caching sudo rules by SSSD.

Package: libsss-sudo Architecture: amd64 Version: 2.2.3-3 Priority: extra Section: libs Source: sssd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian SSSD Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 59 Depends: libc6 (>= 2.28) Replaces: libsss-sudo-dev (<= 1.9.3) Filename: pool/main/s/sssd/libsss-sudo_2.2.3-3_amd64.deb Size: 13244 MD5sum: 120d5d7106cd5e8dc7394c5da852d0c3 SHA1: 06f40edcdc6a4e9eb2dbba33e1f760b75da6f8a4 SHA256: 46c9bb4c3db5e7f8a6b8ccf0715c8b92d8f7bda4675184c2cc7afab8d1acf66c Homepage: https://github.com/SSSD/sssd Description-en: Communicator library for sudo Utility library to allow communication between sudo and SSSD for caching sudo rules by SSSD.

There are three methods to install libsss-sudo 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 libsss-sudo Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libsss-sudo

Install libsss-sudo Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsss-sudo

Install libsss-sudo 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 libsss-sudo using aptitude by running the following command:

sudo aptitude -y install libsss-sudo

How To Uninstall libsss-sudo on Ubuntu 20.04

To uninstall only the libsss-sudo package we can use the following command:

sudo apt-get remove libsss-sudo

Uninstall libsss-sudo And Its Dependencies

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

sudo apt-get -y autoremove libsss-sudo

Remove libsss-sudo Configurations and Data

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

sudo apt-get -y purge libsss-sudo

Remove libsss-sudo configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libsss-sudo

References

Summary

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