How To Install xulrunner on CentOS 7

In this tutorial we learn how to install xulrunner on CentOS 7. xulrunner is XUL Runtime for Gecko Applications

Introduction

In this tutorial we learn how to install xulrunner on CentOS 7.

What is xulrunner

XULRunner is a Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications that are as rich as Firefox and Thunderbird. It provides mechanisms for installing, upgrading, and uninstalling these applications. XULRunner also provides libxul, a solution which allows the embedding of Mozilla technologies in other projects and products. XULRunner is a Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications that are as rich as Firefox and Thunderbird. It provides mechanisms for installing, upgrading, and uninstalling these applications. XULRunner also provides libxul, a solution which allows the embedding of Mozilla technologies in other projects and products.

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

Install xulrunner on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install xulrunner using yum by running the following command:

sudo yum -y install xulrunner

Install xulrunner 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 xulrunner using dnf by running the following command:

sudo dnf -y install xulrunner

How To Uninstall xulrunner on CentOS 7

To uninstall only the xulrunner package we can use the following command:

sudo dnf remove xulrunner

References

Summary

In this tutorial we learn how to install xulrunner on CentOS 7 using yum and dnf.