How To Install picocom on Fedora 34

picocom is Minimal serial communications program

Introduction

In this tutorial we learn how to install picocom on Fedora 34.

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

Install picocom on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install picocom

Install picocom on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install picocom

How To Uninstall picocom on Fedora 34

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

sudo dnf remove picocom

picocom Package Contents on Fedora 34

/run/lock/picocom
/usr/bin/picocom
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/0ccaa1b312bcd08cf9ab8453ac2d283ffbd0ee
/usr/share/doc/picocom
/usr/share/doc/picocom/CONTRIBUTORS
/usr/share/doc/picocom/LICENSE.txt
/usr/share/doc/picocom/README.md
/usr/share/man/man1/picocom.1.gz

References

Summary

In this tutorial we learn how to install picocom on Fedora 34 using yum and dnf.