How To Install libcache-memcached-fast-perl on Ubuntu 18.04

In this tutorial we learn how to install libcache-memcached-fast-perl on Ubuntu 18.04. libcache-memcached-fast-perl is Perl client for memcached, in C language

Introduction

In this tutorial we learn how to install libcache-memcached-fast-perl on Ubuntu 18.04.

What is libcache-memcached-fast-perl

libcache-memcached-fast-perl is:

Cache::Memcached::Fast is a Perl client for memcached, a memory cache daemon (http://www.danga.com/memcached/). Module core is implemented in C and tries hard to minimize number of system calls and to avoid any key/value copying for speed. As a result, it has very low CPU consumption.

API is largely compatible with Cache::Memcached, original pure Perl client, most users of the original module may start using this module by installing it and adding “::Fast” to the old name in their scripts.

There are three methods to install libcache-memcached-fast-perl on Ubuntu 18.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 libcache-memcached-fast-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-fast-perl using apt-get by running the following command:

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

Install libcache-memcached-fast-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

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

Install libcache-memcached-fast-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libcache-memcached-fast-perl

How To Uninstall libcache-memcached-fast-perl on Ubuntu 18.04

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

sudo apt-get remove libcache-memcached-fast-perl

Uninstall libcache-memcached-fast-perl And Its Dependencies

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

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

Remove libcache-memcached-fast-perl Configurations and Data

To remove libcache-memcached-fast-perl configuration and data from Ubuntu 18.04 we can use the following command:

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

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

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

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

References

Summary

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