How to Uninstall or Install libgssapi-perl Ubuntu 22.04

Updated: October 23, 2022

This module gives access to the routines of the GSSAPI library, as described in rfc2743 and rfc2744 and implemented by the Kerberos-1.2 distribution from MIT. In this guide, I will show you how to install libgssapi-perl on Ubuntu 22.04.

Prerequisites to install

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install libgssapi-perl on Ubuntu 22.04

Install libgssapi-perl Ubuntu 22.04

libgssapi-perl is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install libgssapi-perl using APT

This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these steps to install libgssapi-perl on your Ubuntu.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. You can now install libgssapi-perl Ubuntu by executing this command in the terminal.

sudo apt install libgssapi-perl

Install libgssapi-perl using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt install aptitude

After that, you can now install libgssapi-perl by following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install libgssapi-perl Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude install libgssapi-perl

Uninstall libgssapi-perl on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just libgssapi-perl.

You can uninstall libgssapi-perl on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove libgssapi-perl

If you want to uninstall libgssapi-perl and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge libgssapi-perl

Summary

In this tutorial, I showed you ways to install libgssapi-perl on Ubuntu 22.04 and ways to uninstall libgssapi-perl too. Please contact me if you require any assistance. I’d be delighted to respond.