How To Install texlive-algorithms on CentOS 7

In this tutorial we learn how to install texlive-algorithms on CentOS 7. texlive-algorithms is A suite of tools for typesetting algorithms in pseudo-code

Introduction

In this tutorial we learn how to install texlive-algorithms on CentOS 7.

What is texlive-algorithms

Consists of two environments algorithm package defines a floating algorithm environment designed to work with the algorithmic style. Within an algorithmic environment a number of commands for typesetting popular algorithmic constructs are available. date

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

Install texlive-algorithms on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install texlive-algorithms using yum by running the following command:

sudo yum -y install texlive-algorithms

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

sudo dnf -y install texlive-algorithms

How To Uninstall texlive-algorithms on CentOS 7

To uninstall only the texlive-algorithms package we can use the following command:

sudo dnf remove texlive-algorithms

References

Summary

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