How To Install 4th on Fedora 34

4th is A Forth compiler A Forth compiler

Introduction

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

What is 4th

4tH is basic framework for creating application specific scripting languages. It is a library of functions centered around a virtual machine, which guarantees high performance, ease of use and low overhead. 4th 3.62.5 7.fc34 x86_64 344 k 4th-3.62.5-7.fc34.src.rpm fedora A Forth compiler https GPLv3+ 4tH is basic framework for creating application specific scripting languages. It is a library of functions centered around a virtual machine, which guarantees high performance, ease of use and low overhead.

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

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

sudo dnf -y install 4th

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

sudo yum -y install 4th

How To Uninstall 4th on Fedora 34

To uninstall only the 4th package we can use the following command:

sudo dnf remove 4th

4th Package Contents on Fedora 34

/usr/bin/4th
/usr/bin/4tsh
/usr/bin/pp4th
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/1da631cba68e4b91b9e61b9f28be1ebddd1ff0
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/82083066ce1c8f4b6d3a42c129991ffec87a5a
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/d86e000aefd2760a1d90dfde584deb4008f78f
/usr/lib/.build-id/be
/usr/lib/.build-id/be/eedfef1fb372d1d926fff4c0693b753966315e
/usr/lib/lib4th.so.3
/usr/lib/lib4th.so.3.62.4
/usr/share/doc/4th
/usr/share/doc/4th/4tHmanual.txt
/usr/share/doc/4th/README
/usr/share/licenses/4th
/usr/share/licenses/4th/COPYING
/usr/share/man/man1/4th.1.gz
/usr/bin/4th
/usr/bin/4tsh
/usr/bin/pp4th
/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/c6da99b9b084795f9417ab2c343054b3b446aa
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/45b683e513c7356d865dad6d948829ae3a6bcf
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/695d9db002d9bd8666da68554027c078383e02
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/a7f2208340aa54e744537219cc74a681bf3461
/usr/lib64/lib4th.so.3
/usr/lib64/lib4th.so.3.62.4
/usr/share/doc/4th
/usr/share/doc/4th/4tHmanual.txt
/usr/share/doc/4th/README
/usr/share/licenses/4th
/usr/share/licenses/4th/COPYING
/usr/share/man/man1/4th.1.gz

References

Summary

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