How To Install mozilla-https-everywhere on CentOS 7

In this tutorial we learn how to install mozilla-https-everywhere on CentOS 7. mozilla-https-everywhere is HTTPS enforcement extension for Mozilla Firefox

Introduction

In this tutorial we learn how to install mozilla-https-everywhere on CentOS 7.

What is mozilla-https-everywhere

HTTPS Everywhere is a Firefox extension produced as a collaboration between The Tor Project and the Electronic Frontier Foundation. It encrypts your communications with a number of major websites. Many sites on the web offer some limited support for encryption over HTTPS, but make it difficult to use. For instance, they may default to unencrypted HTTP, or fill encrypted pages with links that go back to the unencrypted site. The HTTPS Everywhere extension fixes these problems by rewriting all requests to these sites to HTTPS. The Fedora RPM package includes the legacy XUL version, no longer updated, for SeaMonkey users.

We can use yum or dnf to install mozilla-https-everywhere on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install mozilla-https-everywhere.

Install mozilla-https-everywhere on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install mozilla-https-everywhere using yum by running the following command:

sudo yum -y install mozilla-https-everywhere

Install mozilla-https-everywhere on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install mozilla-https-everywhere using dnf by running the following command:

sudo dnf -y install mozilla-https-everywhere

How To Uninstall mozilla-https-everywhere on CentOS 7

To uninstall only the mozilla-https-everywhere package we can use the following command:

sudo dnf remove mozilla-https-everywhere

References

Summary

In this tutorial we learn how to install mozilla-https-everywhere on CentOS 7 using yum and dnf.