How To Install nekovm on Rocky Linux 8

In this tutorial we learn how to install nekovm on Rocky Linux 8. nekovm is Neko embedded scripting language and virtual machine

Introduction

In this tutorial we learn how to install nekovm on Rocky Linux 8.

What is nekovm

Neko is a high-level dynamically typed programming language which can also be used as an embedded scripting language. It has been designed to provide a common run-time for several different languages. Neko is not only very easy to learn and use, but also has the flexibility of being able to extend the language with C libraries. You can even write generators from your own language to Neko and then use the Neko run-time to compile, run, and access existing libraries. If you need to add a scripting language to your application, Neko provides one of the best trade-offs available between simplicity, extensibility and speed. Neko allows the language designer to focus on design whilst reusing a fast and well constructed run-time, as well as existing libraries for accessing file system, network, databases, XML… Neko has a compiler and virtual machine. The Virtual Machine is both very lightweight and extremely well optimized so that it can run very quickly. The VM can be easily embedded into any application and your libraries are directly accessible using the C foreign function interface. The compiler converts a source .neko file into a byte-code .n file that can be executed with the Virtual Machine. Although the compiler is written in Neko itself, it is still very fast. You can use the compiler as standalone command-line executable separated from the VM, or as a Neko library to perform compile-and-run for interactive languages.

We can use yum or dnf to install nekovm on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install nekovm.

Install nekovm on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install nekovm

Install nekovm on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install nekovm

How To Uninstall nekovm on Rocky Linux 8

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

sudo dnf remove nekovm

nekovm Package Contents on Rocky Linux 8

/usr/bin/neko
/usr/bin/nekoc
/usr/bin/nekoml
/usr/bin/nekotools
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/a74a77c45d5c574f91457a73ae53edd6eb87d3
/usr/lib/.build-id/07
/usr/lib/.build-id/07/4c2ee2aff0ddfea1431a800ace6a29b984c357
/usr/lib/.build-id/11
/usr/lib/.build-id/11/571385d3d5361bcea53e53d6d7c3b69d29db69
/usr/lib/.build-id/11/d2dd3cf3c4eaad833f3b5f22db8746e398ffc4
/usr/lib/.build-id/39
/usr/lib/.build-id/39/44e1afc61f29d173998366427dfc40354a609b
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/6f746ce23d8fb88a46535941c4d648b72538f4
/usr/lib/.build-id/60
/usr/lib/.build-id/60/7921d7961ba7888af4d72b5666b27813fd8661
/usr/lib/.build-id/84
/usr/lib/.build-id/84/58b2aff2576826ae1d132fab44a9421f0e8d64
/usr/lib/.build-id/86
/usr/lib/.build-id/86/c00c9a91fb0fc1e6a33cb1c858269ae9617b8d
/usr/lib/.build-id/89
/usr/lib/.build-id/89/04c485fe5afa0f8ad6147550143bd4fae99739
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/9a80a80ea5dae95caf664410442abffb09d63c
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/644a9dc22e1184fdffd03c4bd5a0c740414c67
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/a38a011d779da04863d960664e0c16cfcdffdd
/usr/lib/.build-id/db
/usr/lib/.build-id/db/0eb4f990a7e1b184bd7aa91f99cbb72c7c3d87
/usr/lib/.build-id/db/c6452318ab7da0937a3b24c6c625f7a6447b7e
/usr/lib64/libneko.so.2
/usr/lib64/libneko.so.2.3.0
/usr/lib64/neko
/usr/lib64/neko/mod_neko2.ndll
/usr/lib64/neko/mod_tora2.ndll
/usr/lib64/neko/mysql.ndll
/usr/lib64/neko/mysql5.ndll
/usr/lib64/neko/nekoml.std
/usr/lib64/neko/regexp.ndll
/usr/lib64/neko/sqlite.ndll
/usr/lib64/neko/ssl.ndll
/usr/lib64/neko/std.ndll
/usr/lib64/neko/ui.ndll
/usr/lib64/neko/zlib.ndll
/usr/share/doc/nekovm
/usr/share/doc/nekovm/README.md
/usr/share/licenses/nekovm
/usr/share/licenses/nekovm/LICENSE

References

Summary

In this tutorial we learn how to install nekovm on Rocky Linux 8 using yum and dnf.