How To Install lightning on Fedora 34

lightning is Library for generating assembly code on run time Library for generating assembly code on run time

Introduction

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

What is lightning

GNU lightning is a library to aid in making portable programs that compiles assembly code at run time. lightning 2.1.3 4.fc34 x86_64 663 k lightning-2.1.3-4.fc34.src.rpm fedora Library for generating assembly code on run time http LGPLv3+ GNU lightning is a library to aid in making portable programs that compiles assembly code at run time.

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

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

sudo dnf -y install lightning

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

sudo yum -y install lightning

How To Uninstall lightning on Fedora 34

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

sudo dnf remove lightning

lightning Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/e367d4a5240b937cee75229f9d669a95af4fc9
/usr/lib/liblightning.so.1
/usr/lib/liblightning.so.1.0.0
/usr/share/doc/lightning
/usr/share/doc/lightning/AUTHORS
/usr/share/doc/lightning/ChangeLog
/usr/share/doc/lightning/NEWS
/usr/share/doc/lightning/README
/usr/share/doc/lightning/THANKS
/usr/share/licenses/lightning
/usr/share/licenses/lightning/COPYING
/usr/share/licenses/lightning/COPYING.DOC
/usr/share/licenses/lightning/COPYING.LESSER
/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/ad9a49777cf6dbc3c762c31eeb96b4a8d1eba0
/usr/lib64/liblightning.so.1
/usr/lib64/liblightning.so.1.0.0
/usr/share/doc/lightning
/usr/share/doc/lightning/AUTHORS
/usr/share/doc/lightning/ChangeLog
/usr/share/doc/lightning/NEWS
/usr/share/doc/lightning/README
/usr/share/doc/lightning/THANKS
/usr/share/licenses/lightning
/usr/share/licenses/lightning/COPYING
/usr/share/licenses/lightning/COPYING.DOC
/usr/share/licenses/lightning/COPYING.LESSER

References

Summary

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