How To Install picocom on CentOS 7

In this tutorial we learn how to install picocom on CentOS 7. picocom is Minimal serial communications program

Introduction

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

What is picocom

As its name suggests, [picocom] is a minimal dumb-terminal emulation program. It is, in principle, very much like minicom, only it’s “pico” instead of “mini”! It was designed to serve as a simple, manual, modem configuration, testing, and debugging tool. It has also served (quite well) as a low-tech “terminal-window” to allow operator intervention in PPP connection scripts (something like the ms-windows “open terminal window before / after dialing” feature). It could also prove useful in many other similar tasks. It is ideal for embedded systems since its memory footprint is minimal (less than 20K, when stripped).

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

Install picocom on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install picocom

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

sudo dnf -y install picocom

How To Uninstall picocom on CentOS 7

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

sudo dnf remove picocom

References

Summary

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