How To Install passenger on CentOS 7

In this tutorial we learn how to install passenger on CentOS 7. passenger is Phusion Passenger application server

Introduction

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

What is passenger

Phusion Passenger® is a web server and application server, designed to be fast, robust and lightweight. It takes a lot of complexity out of deploying web apps, adds powerful enterprise-grade features that are useful in production, and makes administration much easier and less complex. It supports Ruby, Python, Node.js and Meteor.

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

Install passenger on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install passenger

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

sudo dnf -y install passenger

How To Uninstall passenger on CentOS 7

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

sudo dnf remove passenger

References

Summary

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