How To Install python-pycalendar on Debian 9
Introduction
In this tutorial we learn how to install python-pycalendar
on Debian 9.
What is python-pycalendar
python-pycalendar is:
PyCalendar is a Python-based iCalendar (RFC 5545) and vCard (RFC 2426) library that allows iCalendar and vCard data to be parsed, manipulated and generated using an API that closely resembles the object models of iCalendar and vCard. The library includes options to validate input data, and also output data in XML format. The package also includes a tool to parse Olson timezone database information to generate iCalendar compatible timezone definitions.
There are three methods to install python-pycalendar
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-pycalendar 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-pycalendar
using apt-get
by running the following command:
sudo apt-get -y install python-pycalendar
Install python-pycalendar Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-pycalendar
using apt
by running the following command:
sudo apt -y install python-pycalendar
Install python-pycalendar 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-pycalendar
using aptitude
by running the following command:
sudo aptitude -y install python-pycalendar
How To Uninstall python-pycalendar on Debian 9
To uninstall only the python-pycalendar
package we can use the following command:
sudo apt-get remove python-pycalendar
Uninstall python-pycalendar And Its Dependencies
To uninstall python-pycalendar
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove python-pycalendar
Remove python-pycalendar Configurations and Data
To remove python-pycalendar
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge python-pycalendar
Remove python-pycalendar configuration, data, and all of its dependencies
We can use the following command to remove python-pycalendar
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-pycalendar
Dependencies
python-pycalendar have the following dependencies:
References
Summary
In this tutorial we learn how to install python-pycalendar
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.