How To Install mozjs24-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install mozjs24-devel.x86_64 in Amazon Linux 2. mozjs24-devel.x86_64 is Header files, libraries and development documentation for mozjs24

Introduction

In this tutorial we learn how to install mozjs24-devel.x86_64 on Amazon Linux 2.

What is mozjs24-devel.x86_64

This package contains the header files, static libraries and development documentation for mozjs24. If you like to develop programs using mozjs24, you will need to install mozjs24-devel.

We can use yum to install mozjs24-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install mozjs24-devel.x86_64.

Install mozjs24-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mozjs24-devel.x86_64 using yum by running the following command:

sudo yum -y install mozjs24-devel.x86_64

How To Uninstall mozjs24-devel.x86_64 on Amazon Linux 2

To uninstall only the mozjs24-devel.x86_64 package we can use the following command:

sudo yum remove mozjs24-devel.x86_64

mozjs24-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/mozjs-24
/usr/include/mozjs-24/js
/usr/include/mozjs-24/js-config.h
/usr/include/mozjs-24/js-config64.h
/usr/include/mozjs-24/js.msg
/usr/include/mozjs-24/js/Anchor.h
/usr/include/mozjs-24/js/CallArgs.h
/usr/include/mozjs-24/js/CharacterEncoding.h
/usr/include/mozjs-24/js/Date.h
/usr/include/mozjs-24/js/GCAPI.h
/usr/include/mozjs-24/js/HashTable.h
/usr/include/mozjs-24/js/HeapAPI.h
/usr/include/mozjs-24/js/LegacyIntTypes.h
/usr/include/mozjs-24/js/MemoryMetrics.h
/usr/include/mozjs-24/js/PropertyKey.h
/usr/include/mozjs-24/js/RequiredDefines.h
/usr/include/mozjs-24/js/RootingAPI.h
/usr/include/mozjs-24/js/TemplateLib.h
/usr/include/mozjs-24/js/Utility.h
/usr/include/mozjs-24/js/Value.h
/usr/include/mozjs-24/js/Vector.h
/usr/include/mozjs-24/jsalloc.h
/usr/include/mozjs-24/jsapi.h
/usr/include/mozjs-24/jsclass.h
/usr/include/mozjs-24/jsclist.h
/usr/include/mozjs-24/jscpucfg.h
/usr/include/mozjs-24/jsdbgapi.h
/usr/include/mozjs-24/jsfriendapi.h
/usr/include/mozjs-24/jslock.h
/usr/include/mozjs-24/jsperf.h
/usr/include/mozjs-24/jsprf.h
/usr/include/mozjs-24/jsprototypes.h
/usr/include/mozjs-24/jsproxy.h
/usr/include/mozjs-24/jsprvtd.h
/usr/include/mozjs-24/jspubtd.h
/usr/include/mozjs-24/jstypes.h
/usr/include/mozjs-24/jsutil.h
/usr/include/mozjs-24/jsversion.h
/usr/include/mozjs-24/jswrapper.h
/usr/include/mozjs-24/mozilla
/usr/include/mozjs-24/mozilla/Assertions.h
/usr/include/mozjs-24/mozilla/Atomics.h
/usr/include/mozjs-24/mozilla/Attributes.h
/usr/include/mozjs-24/mozilla/BloomFilter.h
/usr/include/mozjs-24/mozilla/Casting.h
/usr/include/mozjs-24/mozilla/Char16.h
/usr/include/mozjs-24/mozilla/CheckedInt.h
/usr/include/mozjs-24/mozilla/Compiler.h
/usr/include/mozjs-24/mozilla/Constants.h
/usr/include/mozjs-24/mozilla/DebugOnly.h
/usr/include/mozjs-24/mozilla/Decimal.h
/usr/include/mozjs-24/mozilla/Endian.h
/usr/include/mozjs-24/mozilla/EnumSet.h
/usr/include/mozjs-24/mozilla/FloatingPoint.h
/usr/include/mozjs-24/mozilla/GuardObjects.h
/usr/include/mozjs-24/mozilla/HashFunctions.h
/usr/include/mozjs-24/mozilla/Likely.h
/usr/include/mozjs-24/mozilla/LinkedList.h
/usr/include/mozjs-24/mozilla/MSStdInt.h
/usr/include/mozjs-24/mozilla/MathAlgorithms.h
/usr/include/mozjs-24/mozilla/MemoryChecking.h
/usr/include/mozjs-24/mozilla/NullPtr.h
/usr/include/mozjs-24/mozilla/PodOperations.h
/usr/include/mozjs-24/mozilla/Poison.h
/usr/include/mozjs-24/mozilla/Range.h
/usr/include/mozjs-24/mozilla/RangedPtr.h
/usr/include/mozjs-24/mozilla/RefPtr.h
/usr/include/mozjs-24/mozilla/SHA1.h
/usr/include/mozjs-24/mozilla/Scoped.h
/usr/include/mozjs-24/mozilla/SplayTree.h
/usr/include/mozjs-24/mozilla/StandardInteger.h
/usr/include/mozjs-24/mozilla/ThreadLocal.h
/usr/include/mozjs-24/mozilla/TypeTraits.h
/usr/include/mozjs-24/mozilla/TypedEnum.h
/usr/include/mozjs-24/mozilla/Types.h
/usr/include/mozjs-24/mozilla/Util.h
/usr/include/mozjs-24/mozilla/WeakPtr.h
/usr/lib64/pkgconfig/mozjs-24.pc

References

Summary

In this tutorial we learn how to install mozjs24-devel.x86_64 on Amazon Linux 2 using yum.