How To Install libchi-driver-redis-perl on Ubuntu 18.04

In this tutorial we learn how to install libchi-driver-redis-perl on Ubuntu 18.04. libchi-driver-redis-perl is CHI driver that uses Redis to store the data

Introduction

In this tutorial we learn how to install libchi-driver-redis-perl on Ubuntu 18.04.

What is libchi-driver-redis-perl

libchi-driver-redis-perl is:

CHI::Driver::Redis is a CHI driver that uses Redis to store the data. Care has been taken to not have this module fail in fiery ways if the cache is unavailable. It is the author’s hope that if it is failing and the cache is not required for your work, you can ignore it’s warnings.

There are three methods to install libchi-driver-redis-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 libchi-driver-redis-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 libchi-driver-redis-perl using apt-get by running the following command:

sudo apt-get -y install libchi-driver-redis-perl

Install libchi-driver-redis-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libchi-driver-redis-perl using apt by running the following command:

sudo apt -y install libchi-driver-redis-perl

Install libchi-driver-redis-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 libchi-driver-redis-perl using aptitude by running the following command:

sudo aptitude -y install libchi-driver-redis-perl

How To Uninstall libchi-driver-redis-perl on Ubuntu 18.04

To uninstall only the libchi-driver-redis-perl package we can use the following command:

sudo apt-get remove libchi-driver-redis-perl

Uninstall libchi-driver-redis-perl And Its Dependencies

To uninstall libchi-driver-redis-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libchi-driver-redis-perl

Remove libchi-driver-redis-perl Configurations and Data

To remove libchi-driver-redis-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libchi-driver-redis-perl

Remove libchi-driver-redis-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libchi-driver-redis-perl

References

Summary

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