How To Install x509viewer on CentOS 7

In this tutorial we learn how to install x509viewer on CentOS 7. x509viewer is Simple tool to decode X.509 certificates

Introduction

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

What is x509viewer

x509viewer is a simple command line application, written in Perl, that can be used to decode one or multiple X.509 certificates per given file, such as e.g. SSL certificates, CSRs (certificate signing requests), but also private keys.

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

Install x509viewer on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install x509viewer

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

sudo dnf -y install x509viewer

How To Uninstall x509viewer on CentOS 7

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

sudo dnf remove x509viewer

References

Summary

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