How To Install libgit-pureperl-perl on Debian 11

In this tutorial we learn how to install libgit-pureperl-perl on Debian 11. libgit-pureperl-perl is Pure Perl interface to Git repositories

Introduction

In this tutorial we learn how to install libgit-pureperl-perl on Debian 11.

What is libgit-pureperl-perl

libgit-pureperl-perl is:

Git::PurePerl is a Pure Perl object oriented interface to access git repositories. The main goals for Git::PurePerl are stability and performance.

This software was developed to power Gitalist.

It was mostly based on Grit http://grit.rubyforge.org/.

There are three methods to install libgit-pureperl-perl on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libgit-pureperl-perl Using apt-get

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

sudo apt-get update

After updating apt database, We can install libgit-pureperl-perl using apt-get by running the following command:

sudo apt-get -y install libgit-pureperl-perl

Install libgit-pureperl-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgit-pureperl-perl using apt by running the following command:

sudo apt -y install libgit-pureperl-perl

Install libgit-pureperl-perl 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libgit-pureperl-perl using aptitude by running the following command:

sudo aptitude -y install libgit-pureperl-perl

How To Uninstall libgit-pureperl-perl on Debian 11

To uninstall only the libgit-pureperl-perl package we can use the following command:

sudo apt-get remove libgit-pureperl-perl

Uninstall libgit-pureperl-perl And Its Dependencies

To uninstall libgit-pureperl-perl and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove libgit-pureperl-perl

Remove libgit-pureperl-perl Configurations and Data

To remove libgit-pureperl-perl configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libgit-pureperl-perl

Remove libgit-pureperl-perl configuration, data, and all of its dependencies

We can use the following command to remove libgit-pureperl-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libgit-pureperl-perl

Dependencies

libgit-pureperl-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libgit-pureperl-perl package on Debian 11 using different package management tools: apt, apt-get and aptitude.