How To Install bison.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install bison.x86_64
on Amazon Linux 2.
What is bison.x86_64
Bison is a general purpose parser generator that converts a grammar description for an LALR(1) context-free grammar into a C program to parse that grammar. Bison can be used to develop a wide range of language parsers, from ones used in simple desk calculators to complex programming languages. Bison is upwardly compatible with Yacc, so any correctly written Yacc grammar should work with Bison without any changes. If you know Yacc, you shouldn’t have any trouble using Bison. You do need to be very proficient in C programming to be able to use Bison. Bison is only needed on systems that are used for development. If your system will be used for C development, you should install Bison.
We can use yum
to install bison.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install bison.x86_64.
Install bison.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 bison.x86_64
using yum
by running the following command:
sudo yum -y install bison.x86_64
How To Uninstall bison.x86_64 on Amazon Linux 2
To uninstall only the bison.x86_64
package we can use the following command:
sudo yum remove bison.x86_64
bison.x86_64 Package Contents on Amazon Linux 2
/usr/bin/bison
/usr/share/aclocal/bison-i18n.m4
/usr/share/bison
/usr/share/bison/README
/usr/share/bison/bison.m4
/usr/share/bison/c++-skel.m4
/usr/share/bison/c++.m4
/usr/share/bison/c-like.m4
/usr/share/bison/c-skel.m4
/usr/share/bison/c.m4
/usr/share/bison/glr.c
/usr/share/bison/glr.cc
/usr/share/bison/java-skel.m4
/usr/share/bison/java.m4
/usr/share/bison/lalr1.cc
/usr/share/bison/lalr1.java
/usr/share/bison/location.cc
/usr/share/bison/m4sugar
/usr/share/bison/m4sugar/foreach.m4
/usr/share/bison/m4sugar/m4sugar.m4
/usr/share/bison/stack.hh
/usr/share/bison/variant.hh
/usr/share/bison/xslt
/usr/share/bison/xslt/bison.xsl
/usr/share/bison/xslt/xml2dot.xsl
/usr/share/bison/xslt/xml2text.xsl
/usr/share/bison/xslt/xml2xhtml.xsl
/usr/share/bison/yacc.c
/usr/share/doc/bison-3.0.4
/usr/share/doc/bison-3.0.4/AUTHORS
/usr/share/doc/bison-3.0.4/COPYING
/usr/share/doc/bison-3.0.4/ChangeLog
/usr/share/doc/bison-3.0.4/NEWS
/usr/share/doc/bison-3.0.4/README
/usr/share/doc/bison-3.0.4/THANKS
/usr/share/doc/bison-3.0.4/TODO
/usr/share/info/bison.info.gz
/usr/share/locale/da/LC_MESSAGES/bison.mo
/usr/share/locale/de/LC_MESSAGES/bison.mo
/usr/share/locale/el/LC_MESSAGES/bison.mo
/usr/share/locale/eo/LC_MESSAGES/bison.mo
/usr/share/locale/es/LC_MESSAGES/bison.mo
/usr/share/locale/et/LC_MESSAGES/bison.mo
/usr/share/locale/fi/LC_MESSAGES/bison.mo
/usr/share/locale/fr/LC_MESSAGES/bison.mo
/usr/share/locale/ga/LC_MESSAGES/bison.mo
/usr/share/locale/hr/LC_MESSAGES/bison.mo
/usr/share/locale/id/LC_MESSAGES/bison.mo
/usr/share/locale/it/LC_MESSAGES/bison.mo
/usr/share/locale/ja/LC_MESSAGES/bison.mo
/usr/share/locale/ms/LC_MESSAGES/bison.mo
/usr/share/locale/nb/LC_MESSAGES/bison.mo
/usr/share/locale/nl/LC_MESSAGES/bison.mo
/usr/share/locale/pl/LC_MESSAGES/bison.mo
/usr/share/locale/pt/LC_MESSAGES/bison.mo
/usr/share/locale/pt_BR/LC_MESSAGES/bison.mo
/usr/share/locale/ro/LC_MESSAGES/bison.mo
/usr/share/locale/ru/LC_MESSAGES/bison.mo
/usr/share/locale/sr/LC_MESSAGES/bison.mo
/usr/share/locale/sv/LC_MESSAGES/bison.mo
/usr/share/locale/tr/LC_MESSAGES/bison.mo
/usr/share/locale/uk/LC_MESSAGES/bison.mo
/usr/share/locale/vi/LC_MESSAGES/bison.mo
/usr/share/locale/zh_CN/LC_MESSAGES/bison.mo
/usr/share/locale/zh_TW/LC_MESSAGES/bison.mo
/usr/share/man/man1/bison.1.gz
References
Summary
In this tutorial we learn how to install bison.x86_64
on Amazon Linux 2 using yum.