How To Install conman on CentOS 7

In this tutorial we learn how to install conman on CentOS 7. conman is ConMan - The Console Manager

Introduction

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

What is conman

ConMan is a serial console management program designed to support a large number of console devices and simultaneous users. It currently supports local serial devices and remote terminal servers (via the telnet protocol). Its features include - mapping symbolic names to console devices - logging all output from a console device to file - supporting monitor (R/O), interactive (R/W), and broadcast (W/O) modes of console access - allowing clients to join or steal console “write” privileges - executing Expect scripts across multiple consoles in parallel

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

Install conman on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install conman

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

sudo dnf -y install conman

How To Uninstall conman on CentOS 7

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

sudo dnf remove conman

References

Summary

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