How To Install redmine-plugin-recaptcha on Ubuntu 18.04

In this tutorial we learn how to install redmine-plugin-recaptcha on Ubuntu 18.04. redmine-plugin-recaptcha is Redmine plugin to add a reCAPTCHA to user self-registration

Introduction

In this tutorial we learn how to install redmine-plugin-recaptcha on Ubuntu 18.04.

What is redmine-plugin-recaptcha

redmine-plugin-recaptcha is:

This plugin gives Redmine the ability to display reCAPTCHA authentication in order to allow user self-registration and prevent spam.

Before using it, you will need to sign-up for a reCAPTCHA key at https://www.google.com/recaptcha.

There are three methods to install redmine-plugin-recaptcha 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 redmine-plugin-recaptcha Using apt-get

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

sudo apt-get update

After updating apt database, We can install redmine-plugin-recaptcha using apt-get by running the following command:

sudo apt-get -y install redmine-plugin-recaptcha

Install redmine-plugin-recaptcha Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install redmine-plugin-recaptcha using apt by running the following command:

sudo apt -y install redmine-plugin-recaptcha

Install redmine-plugin-recaptcha 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 redmine-plugin-recaptcha using aptitude by running the following command:

sudo aptitude -y install redmine-plugin-recaptcha

How To Uninstall redmine-plugin-recaptcha on Ubuntu 18.04

To uninstall only the redmine-plugin-recaptcha package we can use the following command:

sudo apt-get remove redmine-plugin-recaptcha

Uninstall redmine-plugin-recaptcha And Its Dependencies

To uninstall redmine-plugin-recaptcha and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove redmine-plugin-recaptcha

Remove redmine-plugin-recaptcha Configurations and Data

To remove redmine-plugin-recaptcha configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge redmine-plugin-recaptcha

Remove redmine-plugin-recaptcha configuration, data, and all of its dependencies

We can use the following command to remove redmine-plugin-recaptcha configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge redmine-plugin-recaptcha

References

Summary

In this tutorial we learn how to install redmine-plugin-recaptcha package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.