How To Install lcm on Fedora 34

lcm is Utilities for lightweight communications and marshaling Utilities for lightweight communications and marshaling

Introduction

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

What is lcm

LCM is a library for message passing and data marshaling targeted at real time systems where high-bandwidth and low latency are critical. It provides a publish/subscribe message passing model and a XDR-style message specification language with bindings for applications in C, Java and Python. lcm 1.4.0 1.fc33 x86_64 187 k lcm-1.4.0-1.fc33.src.rpm fedora Utilities for lightweight communications and marshaling https LGPLv2+ LCM is a library for message passing and data marshaling targeted at real time systems where high-bandwidth and low latency are critical. It provides a publish/subscribe message passing model and a XDR-style message specification language with bindings for applications in C, Java and Python.

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

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

sudo dnf -y install lcm

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

sudo yum -y install lcm

How To Uninstall lcm on Fedora 34

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

sudo dnf remove lcm

lcm Package Contents on Fedora 34

/usr/bin/lcm-example
/usr/bin/lcm-gen
/usr/bin/lcm-logfilter
/usr/bin/lcm-logger
/usr/bin/lcm-logplayer
/usr/bin/lcm-sink
/usr/bin/lcm-source
/usr/bin/lcm-tester
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/f7295aec9e38614b22d14a768268621eb4541c
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/3bcdf4b0bb1b2a73c40ea587dd4f608dd46faa
/usr/lib/.build-id/43
/usr/lib/.build-id/43/11f8a0b77acebca06c23723412e80458487f9c
/usr/lib/.build-id/74
/usr/lib/.build-id/74/eefd3eaaa589dfad3819270ac81bbcdce16d7f
/usr/lib/.build-id/82
/usr/lib/.build-id/82/e335b31972e2893f0e81b3a0b5da05660abb98
/usr/lib/.build-id/84
/usr/lib/.build-id/84/235b29e064e7f99ea8d9966e4423ee3cf2f7c6
/usr/lib/.build-id/95
/usr/lib/.build-id/95/cc168b9495e9e2e63c06dc1720a08bc8464d28
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/d7bd588bf781f1e9c265c628ad8eb8c20f5ae2
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/1621d174e785bf63886bdf141ab1e670742660
/usr/lib64/liblcm.so.1
/usr/lib64/liblcm.so.1.4.0
/usr/share/doc/lcm
/usr/share/doc/lcm/AUTHORS
/usr/share/doc/lcm/NEWS
/usr/share/licenses/lcm
/usr/share/licenses/lcm/COPYING
/usr/share/man/man1/lcm-example.1.gz
/usr/share/man/man1/lcm-gen.1.gz
/usr/share/man/man1/lcm-logger.1.gz
/usr/share/man/man1/lcm-logplayer.1.gz
/usr/share/man/man1/lcm-sink.1.gz
/usr/share/man/man1/lcm-source.1.gz
/usr/share/man/man1/lcm-tester.1.gz
/usr/bin/lcm-example
/usr/bin/lcm-gen
/usr/bin/lcm-logfilter
/usr/bin/lcm-logger
/usr/bin/lcm-logplayer
/usr/bin/lcm-sink
/usr/bin/lcm-source
/usr/bin/lcm-tester
/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/2a14c2c169f6aff13cbfb740951a624ad46442
/usr/lib/.build-id/28
/usr/lib/.build-id/28/f32c30698aca2652fcfa5a6df298cfb6a9250f
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/0845fec2378b6caedc1994fb6937dac6a5345a
/usr/lib/.build-id/51
/usr/lib/.build-id/51/2b5f1b781757718b6ba4d687050a8aa4e1da89
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/b32393c184fd7fe32475eaa80bb5a96cece620
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/7438a0d47009243fea230ca0ed846c368b03e4
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/a7fe25187326b23bd49f864d1169237746bb47
/usr/lib/.build-id/9c/e1f162ed9d8e4901c393cd86b7a0b5a6210651
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/5f34b4e1699843e287a1b853c2091f6f27ed60
/usr/lib/liblcm.so.1
/usr/lib/liblcm.so.1.4.0
/usr/share/doc/lcm
/usr/share/doc/lcm/AUTHORS
/usr/share/doc/lcm/NEWS
/usr/share/licenses/lcm
/usr/share/licenses/lcm/COPYING
/usr/share/man/man1/lcm-example.1.gz
/usr/share/man/man1/lcm-gen.1.gz
/usr/share/man/man1/lcm-logger.1.gz
/usr/share/man/man1/lcm-logplayer.1.gz
/usr/share/man/man1/lcm-sink.1.gz
/usr/share/man/man1/lcm-source.1.gz
/usr/share/man/man1/lcm-tester.1.gz

References

Summary

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