How To Install python-kolab on Debian 9

In this tutorial we learn how to install python-kolab on Debian 9. python-kolab is Python 2 bindings for Kolab Library

Introduction

In this tutorial we learn how to install python-kolab on Debian 9.

What is python-kolab

python-kolab is:

This package provides the Kolab Python modules icalendar and calendaring.

  • The calendaring module provides some general calendaring functions
  • The icalendar module exposes iCalendar functionality: iCal reading/writing, iTip, iMip.

This contains the Python 2 bindings.

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

Install python-kolab Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install python-kolab

Install python-kolab Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-kolab

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

sudo aptitude -y install python-kolab

How To Uninstall python-kolab on Debian 9

To uninstall only the python-kolab package we can use the following command:

sudo apt-get remove python-kolab

Uninstall python-kolab And Its Dependencies

To uninstall python-kolab and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove python-kolab

Remove python-kolab Configurations and Data

To remove python-kolab configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-kolab

Remove python-kolab configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-kolab

Dependencies

python-kolab have the following dependencies:

References

Summary

In this tutorial we learn how to install python-kolab package on Debian 9 using different package management tools: apt, apt-get and aptitude.