How To Install antlr-C++.x86_64 on Amazon Linux 2
In this tutorial we learn how to install antlr-C++.x86_64 in Amazon Linux 2. antlr-C++.x86_64 is C++ bindings for antlr2 generated parsers
Introduction
In this tutorial we learn how to install antlr-C++.x86_64
on Amazon Linux 2.
What is antlr-C++.x86_64
This package provides a static C++ library for parsers generated by ANTLR2.
We can use yum
to install antlr-C++.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install antlr-C++.x86_64.
Install antlr-C++.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 antlr-C++.x86_64
using yum
by running the following command:
sudo yum -y install antlr-C++.x86_64
How To Uninstall antlr-C++.x86_64 on Amazon Linux 2
To uninstall only the antlr-C++.x86_64
package we can use the following command:
sudo yum remove antlr-C++.x86_64
antlr-C++.x86_64 Package Contents on Amazon Linux 2
/usr/include/antlr
/usr/include/antlr/ANTLRException.hpp
/usr/include/antlr/ANTLRUtil.hpp
/usr/include/antlr/AST.hpp
/usr/include/antlr/ASTArray.hpp
/usr/include/antlr/ASTFactory.hpp
/usr/include/antlr/ASTNULLType.hpp
/usr/include/antlr/ASTPair.hpp
/usr/include/antlr/ASTRefCount.hpp
/usr/include/antlr/BaseAST.hpp
/usr/include/antlr/BitSet.hpp
/usr/include/antlr/CharBuffer.hpp
/usr/include/antlr/CharInputBuffer.hpp
/usr/include/antlr/CharScanner.hpp
/usr/include/antlr/CharStreamException.hpp
/usr/include/antlr/CharStreamIOException.hpp
/usr/include/antlr/CircularQueue.hpp
/usr/include/antlr/CommonAST.hpp
/usr/include/antlr/CommonASTWithHiddenTokens.hpp
/usr/include/antlr/CommonHiddenStreamToken.hpp
/usr/include/antlr/CommonToken.hpp
/usr/include/antlr/IOException.hpp
/usr/include/antlr/InputBuffer.hpp
/usr/include/antlr/LLkParser.hpp
/usr/include/antlr/LexerSharedInputState.hpp
/usr/include/antlr/MismatchedCharException.hpp
/usr/include/antlr/MismatchedTokenException.hpp
/usr/include/antlr/NoViableAltException.hpp
/usr/include/antlr/NoViableAltForCharException.hpp
/usr/include/antlr/Parser.hpp
/usr/include/antlr/ParserSharedInputState.hpp
/usr/include/antlr/RecognitionException.hpp
/usr/include/antlr/RefCount.hpp
/usr/include/antlr/SemanticException.hpp
/usr/include/antlr/String.hpp
/usr/include/antlr/Token.hpp
/usr/include/antlr/TokenBuffer.hpp
/usr/include/antlr/TokenRefCount.hpp
/usr/include/antlr/TokenStream.hpp
/usr/include/antlr/TokenStreamBasicFilter.hpp
/usr/include/antlr/TokenStreamException.hpp
/usr/include/antlr/TokenStreamHiddenTokenFilter.hpp
/usr/include/antlr/TokenStreamIOException.hpp
/usr/include/antlr/TokenStreamRecognitionException.hpp
/usr/include/antlr/TokenStreamRetryException.hpp
/usr/include/antlr/TokenStreamRewriteEngine.hpp
/usr/include/antlr/TokenStreamSelector.hpp
/usr/include/antlr/TokenWithIndex.hpp
/usr/include/antlr/TreeParser.hpp
/usr/include/antlr/TreeParserSharedInputState.hpp
/usr/include/antlr/config.hpp
/usr/lib64/libantlr.a
References
Summary
In this tutorial we learn how to install antlr-C++.x86_64
on Amazon Linux 2 using yum.