如何安装 libcaptcha-recaptcha-perl Debian 9

在本教程中,我们学习如何安装 libcaptcha-recaptcha-perl Debian 9. libcaptcha-recaptcha-perl 是 reCAPTCHA API 的 Perl 实现

介绍

在本教程中我们学习如何安装 libcaptcha-recaptcha-perl 在 Debian 9.

什么是 libcaptcha-recaptcha-perl

libcaptcha-recaptcha-perl 是:

Captcha::reCAPTCHA 是一个用于访问 reCAPTCHA API 的 Perl 模块。

reCAPTCHA 是一种混合机械土耳其语和验证码,允许完成验证码的访问者协助书籍数字化。 从 https://recaptcha.net/learnmore.html:

reCAPTCHA 通过将计算机无法读取的单词以验证码的形式发送到网络供人类破译,从而改进了书籍数字化过程。 更具体地说,将 OCR 无法正确读取的每个单词放置在图像上并用作验证码。 这是可能的,因为大多数 OCR 程序会在无法正确读取单词时提醒您。

要使用 reCAPTCHA,您需要在此处注册您的网站:
https://admin.recaptcha.net/recaptcha/createsite/

有三种安装方法 libcaptcha-recaptcha-perl 在 Debian 9.我们可以使用 apt-get, aptaptitude。 在以下部分中,我们将描述每种方法。 您可以选择其中之一。

使用 apt-get 安装 libcaptcha-recaptcha-perl

更新 apt 数据库 apt-get 使用以下命令。

更新apt数据库后,我们可以安装 libcaptcha-recaptcha-perl 使用 apt-get 通过运行以下命令:

sudo apt-get -y install libcaptcha-recaptcha-perl

使用 apt 安装 libcaptcha-recaptcha-perl

更新 apt 数据库 apt 使用以下命令。

更新apt数据库后,我们可以安装 libcaptcha-recaptcha-perl 使用 apt 通过运行以下命令:

sudo apt -y install libcaptcha-recaptcha-perl

使用 aptitude 安装 libcaptcha-recaptcha-perl

如果您想遵循此方法,您可能需要先安装 aptitude,因为 aptitude 通常不会默认安装 Debian。 更新 apt 数据库 aptitude 使用以下命令。

更新apt数据库后,我们可以安装 libcaptcha-recaptcha-perl 使用 aptitude 通过运行以下命令:

sudo aptitude -y install libcaptcha-recaptcha-perl

如何卸载 libcaptcha-recaptcha-perl Debian 9

仅卸载 libcaptcha-recaptcha-perl 打包我们可以使用以下命令:

sudo apt-get remove libcaptcha-recaptcha-perl

卸载 libcaptcha-recaptcha-perl 及其依赖项

卸载 libcaptcha-recaptcha-perl 及其不再需要的依赖项 Debian 9、我们可以使用下面的命令:

sudo apt-get -y autoremove libcaptcha-recaptcha-perl

删除 libcaptcha-recaptcha-perl 配置和数据

去除 libcaptcha-recaptcha-perl 配置和数据来自 Debian 9.我们可以使用以下命令:

sudo apt-get -y purge libcaptcha-recaptcha-perl

删除 libcaptcha-recaptcha-perl 配置、数据及其所有依赖项

我们可以使用下面的命令来删除 libcaptcha-recaptcha-perl 配置、数据及其所有依赖项,我们可以使用以下命令:

sudo apt-get -y autoremove --purge libcaptcha-recaptcha-perl

依赖关系

libcaptcha-recaptcha-perl 具有以下依赖项:

参考

概括

在本教程中我们学习如何安装 libcaptcha-recaptcha-perl 封装在 Debian 9.使用不同的包管理工具: apt, apt-getaptitude