How To Install 2048-cli-nocurses on CentOS 7

In this tutorial we learn how to install 2048-cli-nocurses on CentOS 7. 2048-cli-nocurses is The game 2048 for your Linux terminal (non-ncurses)

Introduction

In this tutorial we learn how to install 2048-cli-nocurses on CentOS 7.

What is 2048-cli-nocurses

A non-ncurses cli version of the game 2048 for your Linux terminal.

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

Install 2048-cli-nocurses on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install 2048-cli-nocurses using yum by running the following command:

sudo yum -y install 2048-cli-nocurses

Install 2048-cli-nocurses on CentOS 7 Using dnf

If you don’t have dnf installed you can install dnf first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install 2048-cli-nocurses using dnf by running the following command:

sudo dnf -y install 2048-cli-nocurses

How To Uninstall 2048-cli-nocurses on CentOS 7

To uninstall only the 2048-cli-nocurses package we can use the following command:

sudo dnf remove 2048-cli-nocurses

2048-cli-nocurses Package Contents on CentOS 7

/usr/bin/2048nc
/usr/share/doc/2048-cli-0.9.1
/usr/share/doc/2048-cli-0.9.1/README.md
/usr/share/licenses/2048-cli-0.9.1
/usr/share/licenses/2048-cli-0.9.1/LICENSE
/usr/share/man/man1/2048nc.1.gz

References

Summary

In this tutorial we learn how to install 2048-cli-nocurses on CentOS 7 using yum and dnf.