How To Install duktape on Fedora 34

duktape is Embeddable Javascript engine Embeddable Javascript engine

Introduction

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

What is duktape

Duktape is an embeddable Javascript engine, with a focus on portability and compact footprint. duktape 2.2.0 8.fc34 x86_64 159 k duktape-2.2.0-8.fc34.src.rpm fedora Embeddable Javascript engine http MIT Duktape is an embeddable Javascript engine, with a focus on portability and compact footprint.

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

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

sudo dnf -y install duktape

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

sudo yum -y install duktape

How To Uninstall duktape on Fedora 34

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

sudo dnf remove duktape

duktape Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/4e312c257a7efff3d5fc09d3c4e40eaeab6763
/usr/lib/.build-id/db
/usr/lib/.build-id/db/f205f03315c6968c0ac9cbb1566bdbad0d4b1a
/usr/lib/libduktape.so.202
/usr/lib/libduktape.so.202.20200
/usr/lib/libduktaped.so.202
/usr/lib/libduktaped.so.202.20200
/usr/share/doc/duktape
/usr/share/doc/duktape/AUTHORS.rst
/usr/share/licenses/duktape
/usr/share/licenses/duktape/LICENSE.txt
/usr/lib/.build-id
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/3ce97ced3b6732bcfb8e36636b09e0cc59c9fa
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/8758c1f3518cea87d93ee95afad25be6baec92
/usr/lib64/libduktape.so.202
/usr/lib64/libduktape.so.202.20200
/usr/lib64/libduktaped.so.202
/usr/lib64/libduktaped.so.202.20200
/usr/share/doc/duktape
/usr/share/doc/duktape/AUTHORS.rst
/usr/share/licenses/duktape
/usr/share/licenses/duktape/LICENSE.txt

References

Summary

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