yacc install linux code example Example 1: install yacc on ubuntu sudo apt-get install bison flex Example 2: yacc install in kali linux sudo apt install bison -y