How To Install freeciv on CentOS 7
Introduction
In this tutorial we learn how to install freeciv
on CentOS 7.
What is freeciv
Freeciv is a turn-based, multi-player, X based strategy game. Freeciv is generally comparable to, and has compatible rules with, the Civilization II(R) game by Microprose(R). In Freeciv, each player is the leader of a civilization, and is competing with the other players in order to become the leader of the greatest civilization.
We can use yum
or dnf
to install freeciv
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install freeciv.
Install freeciv on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install freeciv
using yum
by running the following command:
sudo yum -y install freeciv
Install freeciv 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 freeciv
using dnf
by running the following command:
sudo dnf -y install freeciv
How To Uninstall freeciv on CentOS 7
To uninstall only the freeciv
package we can use the following command:
sudo dnf remove freeciv
References
Summary
In this tutorial we learn how to install freeciv
on CentOS 7 using yum
and dnf
.