How To Install texlive-lua-alt-getopt.noarch on Amazon Linux 2

In this tutorial we learn how to install texlive-lua-alt-getopt.noarch in Amazon Linux 2. texlive-lua-alt-getopt.noarch is Process application arguments the same way as getopt_long

Introduction

In this tutorial we learn how to install texlive-lua-alt-getopt.noarch on Amazon Linux 2.

What is texlive-lua-alt-getopt.noarch

lua_altgetopt is a MIT-licensed module for Lua, for processing application arguments in the same way as BSD/GNU getopt_long(3) functions do. This module is made available for lua script writers to have consistent command line parsing routines. date

We can use yum to install texlive-lua-alt-getopt.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-lua-alt-getopt.noarch.

Install texlive-lua-alt-getopt.noarch 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 texlive-lua-alt-getopt.noarch using yum by running the following command:

sudo yum -y install texlive-lua-alt-getopt.noarch

How To Uninstall texlive-lua-alt-getopt.noarch on Amazon Linux 2

To uninstall only the texlive-lua-alt-getopt.noarch package we can use the following command:

sudo yum remove texlive-lua-alt-getopt.noarch

texlive-lua-alt-getopt.noarch Package Contents on Amazon Linux 2

/usr/share/texlive/texmf-dist/scripts/lua-alt-getopt/alt_getopt.lua

References

Summary

In this tutorial we learn how to install texlive-lua-alt-getopt.noarch on Amazon Linux 2 using yum.