How To Install pyca on Debian 9
Introduction
In this tutorial we learn how to install pyca
on Debian 9.
What is pyca
pyca is:
pyca is a set of Python scripts written Michael Str?der. They provide an almost fully fledged Certification Authority. Support for issueing email and authentication certificates works fine.
Most notably spooling of requests and certificates between the public and the private parts of the CA remains to be written.
Other than that the documentation and scripts provided are of good quality and may facilitate using and understanding the CA capabilities of OpenSSL.
The required webserver must provide CGI support.
There are three methods to install pyca
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 pyca Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install pyca
using apt-get
by running the following command:
sudo apt-get -y install pyca
Install pyca Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install pyca
using apt
by running the following command:
sudo apt -y install pyca
Install pyca 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 pyca
using aptitude
by running the following command:
sudo aptitude -y install pyca
How To Uninstall pyca on Debian 9
To uninstall only the pyca
package we can use the following command:
sudo apt-get remove pyca
Uninstall pyca And Its Dependencies
To uninstall pyca
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove pyca
Remove pyca Configurations and Data
To remove pyca
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge pyca
Remove pyca configuration, data, and all of its dependencies
We can use the following command to remove pyca
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge pyca
Dependencies
pyca have the following dependencies:
References
Summary
In this tutorial we learn how to install pyca
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.