How To Install conman on CentOS 8

conman is ConMan - The Console Manager

Introduction

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

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 8. In this tutorial we discuss both methods but you only need to choose one of method to install conman.

Install conman on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install conman

Install conman on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install conman

How To Uninstall conman on CentOS 8

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

sudo dnf remove conman

conman Package Contents on CentOS 8

/etc/conman.conf
/etc/logrotate.d/conman
/usr/bin/conman
/usr/bin/conmen
/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/bb2a51cf056db7ecee7e222a9debc778af2ff0
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/079de6e2216dd8b04730515ce9e0c1216bde03
/usr/lib/systemd/system/conman.service
/usr/sbin/conmand
/usr/share/conman
/usr/share/conman/alpha.exp
/usr/share/conman/conman.exp
/usr/share/conman/exec
/usr/share/conman/exec/README
/usr/share/conman/exec/cyclades-ssh.exp
/usr/share/conman/exec/cyclades-telnet.exp
/usr/share/conman/exec/hp-ilo.exp
/usr/share/conman/exec/hp-lo100.exp
/usr/share/conman/exec/ibm-bc.exp
/usr/share/conman/exec/ipmiconsole.exp
/usr/share/conman/exec/ipmitool.exp
/usr/share/conman/exec/ssh.exp
/usr/share/conman/exec/sun-elom.exp
/usr/share/conman/exec/sun-ilom.exp
/usr/share/conman/exec/sun-v20z-v40z.exp
/usr/share/doc/conman
/usr/share/doc/conman/AUTHORS
/usr/share/doc/conman/FAQ
/usr/share/doc/conman/NEWS
/usr/share/doc/conman/examples
/usr/share/doc/conman/examples/README
/usr/share/doc/conman/examples/boot_alpha.exp
/usr/share/doc/conman/examples/mac.exp
/usr/share/doc/conman/examples/rmc.exp
/usr/share/doc/conman/examples/shell_cmd_1.exp
/usr/share/doc/conman/examples/shell_cmd_n.exp
/usr/share/doc/conman/examples/srm.exp
/usr/share/doc/conman/examples/wtf.exp
/usr/share/licenses/conman
/usr/share/licenses/conman/COPYING
/usr/share/man/man1/conman.1.gz
/usr/share/man/man5/conman.conf.5.gz
/usr/share/man/man8/conmand.8.gz
/var/log/conman
/var/log/conman.old

References

Summary

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