How to Install and Uninstall smarty-lexer Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 14,2024

1. Install "smarty-lexer" package

In this section, we are going to explain the necessary steps to install smarty-lexer on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install smarty-lexer

2. Uninstall "smarty-lexer" package

This guide covers the steps necessary to uninstall smarty-lexer on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove smarty-lexer $ sudo apt autoclean && sudo apt autoremove

3. Information about the smarty-lexer package on Ubuntu 20.10 (Groovy Gorilla)

Package: smarty-lexer
Architecture: all
Version: 3.1.32+dfsg1-2
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Mike Gabriel
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 516
Depends: php-common, php-cli, php-pear
Filename: pool/universe/s/smarty-lexer/smarty-lexer_3.1.32+dfsg1-2_all.deb
Size: 58152
MD5sum: f54f842e6f7fa62b4f4f3ccc5afe861a
SHA1: 0600ec419461a96033af94ea86f3d8cb24c04d8e
SHA256: 50310096051acc8c1614ee34e57ed8d604adab3482b7acac2628d377ae60e1b7
SHA512: 8cb22f47f568fb6a5192f02927233d0455c7590efc46ed25a6a75de81f5551f8098e102c0f03c18a0d329c9900a96d364427e091510470a6710c1a6c5019ccfa
Homepage: https://github.com/smarty-php/smarty-lexer
Description-en: Smarty Lexer/Parser generator
The smarty-lexer package is used to generate the lexer and
parser class files for Debian package smarty3.
.
To generate the template lexer and parser run
Create_Template_Parser.php. It will create
smarty_internal_templatelexer.php from
smarty_internal_templatelexer.plex smarty_internal_templateparser.php
from smarty_internal_templateparser.y
.
To generate the config file lexer and parser run
Create_Template_Parser.php. It will create
smarty_internal_configfilelexer.php from
smarty_internal_configfilelexer.plex
smarty_internal_configfileparser.php from
smarty_internal_configfileparser.y
Description-md5: 47b5ce7a9ad0719a730fffa9abcbb641