How To Install re2c.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install re2c.x86_64
on Amazon Linux 2.
What is re2c.x86_64
re2c is a tool for writing very fast and very flexible scanners. Unlike any other such tool, re2c focuses on generating high efficient code for regular expression matching. As a result this allows a much broader range of use than any traditional lexer offers. And Last but not least re2c generates warning free code that is equal to hand-written code in terms of size, speed and quality.
We can use yum
to install re2c.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install re2c.x86_64.
Install re2c.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 re2c.x86_64
using yum
by running the following command:
sudo yum -y install re2c.x86_64
How To Uninstall re2c.x86_64 on Amazon Linux 2
To uninstall only the re2c.x86_64
package we can use the following command:
sudo yum remove re2c.x86_64
re2c.x86_64 Package Contents on Amazon Linux 2
/usr/bin/re2c
/usr/share/doc/re2c-0.14.3
/usr/share/doc/re2c-0.14.3/CHANGELOG
/usr/share/doc/re2c-0.14.3/README
/usr/share/doc/re2c-0.14.3/examples
/usr/share/doc/re2c-0.14.3/examples/basemmap.c
/usr/share/doc/re2c-0.14.3/examples/c.re
/usr/share/doc/re2c-0.14.3/examples/cmmap.re
/usr/share/doc/re2c-0.14.3/examples/cnokw.re
/usr/share/doc/re2c-0.14.3/examples/cunroll.re
/usr/share/doc/re2c-0.14.3/examples/input_custom
/usr/share/doc/re2c-0.14.3/examples/input_custom/fixed.re
/usr/share/doc/re2c-0.14.3/examples/input_custom/simple
/usr/share/doc/re2c-0.14.3/examples/input_custom/simple/README
/usr/share/doc/re2c-0.14.3/examples/input_custom/simple/default.re
/usr/share/doc/re2c-0.14.3/examples/input_custom/simple/fgetc.re
/usr/share/doc/re2c-0.14.3/examples/input_custom/simple/istringstream.re
/usr/share/doc/re2c-0.14.3/examples/modula.re
/usr/share/doc/re2c-0.14.3/examples/pp-c.re
/usr/share/doc/re2c-0.14.3/examples/push.re
/usr/share/doc/re2c-0.14.3/examples/repeater.re
/usr/share/doc/re2c-0.14.3/examples/rexx
/usr/share/doc/re2c-0.14.3/examples/rexx/README
/usr/share/doc/re2c-0.14.3/examples/rexx/rexx.l
/usr/share/doc/re2c-0.14.3/examples/rexx/scanio.c
/usr/share/doc/re2c-0.14.3/examples/sample.re
/usr/share/doc/re2c-0.14.3/examples/simple.re
/usr/share/doc/re2c-0.14.3/lessons
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/calc_001.c
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/calc_001.re
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/calc_002.c
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/calc_002.re
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/calc_003.c
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/calc_003.re
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/calc_004.c
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/calc_004.re
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/calc_005.c
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/calc_005.re
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/calc_006.s.c
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/calc_006.s.re
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/calc_007.b.c
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/calc_007.b.re
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/calc_008.b.c
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/calc_008.b.re
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/readme.txt
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/windows
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/windows/BuildAndRun.bat
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/windows/HiResTimer.h
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/windows/TestRe2c-2005.sln
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/windows/TestRe2c-2005.vcproj
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/windows/TestRe2c.dsp
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/windows/TestRe2c.dsw
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/windows/TestRe2c.sln
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/windows/TestRe2c.vcproj
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/windows/main.b.c
/usr/share/doc/re2c-0.14.3/lessons/001_upn_calculator/windows/main.b.re
/usr/share/doc/re2c-0.14.3/lessons/002_strip_comments
/usr/share/doc/re2c-0.14.3/lessons/002_strip_comments/readme.txt
/usr/share/doc/re2c-0.14.3/lessons/002_strip_comments/strip_001.s.c
/usr/share/doc/re2c-0.14.3/lessons/002_strip_comments/strip_001.s.re
/usr/share/doc/re2c-0.14.3/lessons/002_strip_comments/strip_002.s.c
/usr/share/doc/re2c-0.14.3/lessons/002_strip_comments/strip_002.s.re
/usr/share/doc/re2c-0.14.3/lessons/002_strip_comments/strip_003.b.c
/usr/share/doc/re2c-0.14.3/lessons/002_strip_comments/strip_003.b.re
/usr/share/doc/re2c-0.14.3/lessons/readme.txt
/usr/share/doc/re2c-0.14.3/loplas.ps
/usr/share/doc/re2c-0.14.3/sample.bib
/usr/share/man/man1/re2c.1.gz
References
Summary
In this tutorial we learn how to install re2c.x86_64
on Amazon Linux 2 using yum.