How To Install luajit-devel on Rocky Linux 8

In this tutorial we learn how to install luajit-devel on Rocky Linux 8. luajit-devel is Development files for luajit

Introduction

In this tutorial we learn how to install luajit-devel on Rocky Linux 8.

What is luajit-devel

This package contains development files for luajit.

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

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

sudo dnf -y install luajit-devel

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

sudo yum -y install luajit-devel

How To Uninstall luajit-devel on Rocky Linux 8

To uninstall only the luajit-devel package we can use the following command:

sudo dnf remove luajit-devel

luajit-devel Package Contents on Rocky Linux 8

/usr/include/luajit-2.1
/usr/include/luajit-2.1/lauxlib.h
/usr/include/luajit-2.1/lua.h
/usr/include/luajit-2.1/lua.hpp
/usr/include/luajit-2.1/luaconf.h
/usr/include/luajit-2.1/luajit.h
/usr/include/luajit-2.1/lualib.h
/usr/lib64/libluajit-5.1.so
/usr/lib64/pkgconfig/luajit.pc
/usr/share/doc/luajit-devel
/usr/share/doc/luajit-devel/html
/usr/share/doc/luajit-devel/html/bluequad-print.css
/usr/share/doc/luajit-devel/html/bluequad.css
/usr/share/doc/luajit-devel/html/changes.html
/usr/share/doc/luajit-devel/html/contact.html
/usr/share/doc/luajit-devel/html/ext_c_api.html
/usr/share/doc/luajit-devel/html/ext_ffi.html
/usr/share/doc/luajit-devel/html/ext_ffi_api.html
/usr/share/doc/luajit-devel/html/ext_ffi_semantics.html
/usr/share/doc/luajit-devel/html/ext_ffi_tutorial.html
/usr/share/doc/luajit-devel/html/ext_jit.html
/usr/share/doc/luajit-devel/html/ext_profiler.html
/usr/share/doc/luajit-devel/html/extensions.html
/usr/share/doc/luajit-devel/html/faq.html
/usr/share/doc/luajit-devel/html/img
/usr/share/doc/luajit-devel/html/img/contact.png
/usr/share/doc/luajit-devel/html/install.html
/usr/share/doc/luajit-devel/html/luajit.html
/usr/share/doc/luajit-devel/html/running.html
/usr/share/doc/luajit-devel/html/status.html

References

Summary

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