How To Install 2048-cli on CentOS 7
Introduction
In this tutorial we learn how to install 2048-cli
on CentOS 7.
What is 2048-cli
A cli version of the game 2048 for your Linux terminal.
We can use yum
or dnf
to install 2048-cli
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install 2048-cli.
Install 2048-cli 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
using yum
by running the following command:
sudo yum -y install 2048-cli
Install 2048-cli 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
using dnf
by running the following command:
sudo dnf -y install 2048-cli
How To Uninstall 2048-cli on CentOS 7
To uninstall only the 2048-cli
package we can use the following command:
sudo dnf remove 2048-cli
2048-cli Package Contents on CentOS 7
/usr/bin/2048
/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/2048.1.gz
References
Summary
In this tutorial we learn how to install 2048-cli
on CentOS 7 using yum and dnf.