How To Install pycassa-doc on Debian 10

Learn how to install pycassa-doc on Debian 10 with this tutorial. pycassa-doc is Documentation for the Pycassa library

Introduction

In this tutorial we learn how to install pycassa-doc on Debian 10.

What is pycassa-doc

pycassa-doc is:

Pycassa is a client library for Apache Cassandra with the following features:

  • Automatic failover and operation retries
  • Connection pooling
  • Multithreading support
  • A batch interface
  • A class for mapping classes to Cassandra column families

This package contains the documentation for Pycassa, including a tutorial, an API reference, a HOWTO for the pycassaShell tool, and some usage examples.

There are three methods to install pycassa-doc 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 pycassa-doc Using apt-get

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

sudo apt-get update

After updating apt database, We can install pycassa-doc using apt-get by running the following command:

sudo apt-get -y install pycassa-doc

Install pycassa-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install pycassa-doc using apt by running the following command:

sudo apt -y install pycassa-doc

Install pycassa-doc 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 pycassa-doc using aptitude by running the following command:

sudo aptitude -y install pycassa-doc

How To Uninstall pycassa-doc on Debian 10

To uninstall only the pycassa-doc package we can use the following command:

sudo apt-get remove pycassa-doc

Uninstall pycassa-doc And Its Dependencies

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

sudo apt-get -y autoremove pycassa-doc

Remove pycassa-doc Configurations and Data

To remove pycassa-doc configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge pycassa-doc

Remove pycassa-doc configuration, data, and all of its dependencies

We can use the following command to remove pycassa-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge pycassa-doc

Dependencies

pycassa-doc have the following dependencies:

References

Summary

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