How To Install mcrcon on CentOS 7

In this tutorial we learn how to install mcrcon on CentOS 7. mcrcon is Console based rcon client for minecraft servers

Introduction

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

What is mcrcon

Mcrcon is powerful IPv6 compliant minecraft rcon client with bukkit coloring support. It is well suited for remote administration and to be used as part of automated server maintenance scripts. Does not cause “IO Connection reset” spam in server console. Features - Interacive terminal mode. Keeps the connection alive. - Send multiple commands in one command line. - Silent mode. Does not print rcon output. - Support for bukkit coloring on Windows and Linux (sh compatible shells). - Multiplatform code. Compiles on many platforms with only minor changes.

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

Install mcrcon on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install mcrcon

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

sudo dnf -y install mcrcon

How To Uninstall mcrcon on CentOS 7

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

sudo dnf remove mcrcon

References

Summary

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