How To Install libcache-memcached-perl on Debian 10

Learn how to install libcache-memcached-perl on Debian 10 with this tutorial. libcache-memcached-perl is Perl module for using memcached servers

Introduction

In this tutorial we learn how to install libcache-memcached-perl on Debian 10.

What is libcache-memcached-perl

libcache-memcached-perl is:

Cache::Memcached is a module that interfaces with the memcached distributed memory cache daemon. Danga Interactive’s memcached is a generic memory object caching system, often used to accelerate dynamic web sites by reducing load on slower databases. (See the memcached package)

This module allows Perl authors to quickly set and retrieve key/data pairs from memcached servers, even clusters of multiple daemons. As such, it is used to power several large-scale and high-performance web sites, including LiveJournal and Slashdot.

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

Install libcache-memcached-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 libcache-memcached-perl using apt-get by running the following command:

sudo apt-get -y install libcache-memcached-perl

Install libcache-memcached-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcache-memcached-perl

Install libcache-memcached-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 libcache-memcached-perl using aptitude by running the following command:

sudo aptitude -y install libcache-memcached-perl

How To Uninstall libcache-memcached-perl on Debian 10

To uninstall only the libcache-memcached-perl package we can use the following command:

sudo apt-get remove libcache-memcached-perl

Uninstall libcache-memcached-perl And Its Dependencies

To uninstall libcache-memcached-perl and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libcache-memcached-perl

Remove libcache-memcached-perl Configurations and Data

To remove libcache-memcached-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libcache-memcached-perl

Remove libcache-memcached-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libcache-memcached-perl

Dependencies

libcache-memcached-perl have the following dependencies:

References

Summary

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