How To Install dex on CentOS 7

In this tutorial we learn how to install dex on CentOS 7. dex is Dextrous text editor

Introduction

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

What is dex

dex is a small and easy to use text editor. Colors and bindings can be fully customized to your liking. It has some features useful to programmers, like ctags support and it can parse compiler errors, but it does not aim to become an IDE.

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

Install dex on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install dex

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

sudo dnf -y install dex

How To Uninstall dex on CentOS 7

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

sudo dnf remove dex

References

Summary

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