How To Install libcgi-application-plugin-captcha-perl on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libcgi-application-plugin-captcha-perl
on Ubuntu 18.04.
What is libcgi-application-plugin-captcha-perl
libcgi-application-plugin-captcha-perl is:
CGI::Application::Plugin::CAPTCHA allows programmers to easily add and verify CAPTCHAs in their CGI::Application-derived web applications. A CAPTCHA (or Completely Automated Public Turing Test to Tell Computers and Humans Apart) is an image with a random string of characters. A user must successfully enter the random string in order to submit a form. This is a simple (yet annoying) procedure for humans to complete, but one that is significantly more difficult for a form-stuffing script to complete without having to integrate some sort of OCR.
CAPTCHAs are not a perfect solution. Any skilled, diligent cracker will eventually be able to bypass a CAPTCHA, but it should be able to shut down your average script-kiddie.
When a CAPTCHA is created with this module, raw image data is transmitted from your web application to the client browser. A cookie containing a checksum is also transmitted with the image. When the client submits their form for processing (along with their verification of the random string), captcha_verify() generates a checksum of the verification string the user entered. If the newly generated checksum matches the checksum found in the cookie, the CAPTCHA is assumed to have been successfully entered, and the user is allowed to continue processing their form.
There are three methods to install libcgi-application-plugin-captcha-perl
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libcgi-application-plugin-captcha-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libcgi-application-plugin-captcha-perl
using apt-get
by running the following command:
sudo apt-get -y install libcgi-application-plugin-captcha-perl
Install libcgi-application-plugin-captcha-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libcgi-application-plugin-captcha-perl
using apt
by running the following command:
sudo apt -y install libcgi-application-plugin-captcha-perl
Install libcgi-application-plugin-captcha-perl 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libcgi-application-plugin-captcha-perl
using aptitude
by running the following command:
sudo aptitude -y install libcgi-application-plugin-captcha-perl
How To Uninstall libcgi-application-plugin-captcha-perl on Ubuntu 18.04
To uninstall only the libcgi-application-plugin-captcha-perl
package we can use the following command:
sudo apt-get remove libcgi-application-plugin-captcha-perl
Uninstall libcgi-application-plugin-captcha-perl And Its Dependencies
To uninstall libcgi-application-plugin-captcha-perl
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libcgi-application-plugin-captcha-perl
Remove libcgi-application-plugin-captcha-perl Configurations and Data
To remove libcgi-application-plugin-captcha-perl
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libcgi-application-plugin-captcha-perl
Remove libcgi-application-plugin-captcha-perl configuration, data, and all of its dependencies
We can use the following command to remove libcgi-application-plugin-captcha-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcgi-application-plugin-captcha-perl
References
- libcgi-application-plugin-captcha-perl website
- libcgi-application-plugin-captcha-perl on packages.ubuntu.com
Summary
In this tutorial we learn how to install libcgi-application-plugin-captcha-perl
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.