How to Install and Uninstall smarty-lexer Package on Ubuntu 21.10 (Impish Indri)

Last updated: December 23,2024

1. Install "smarty-lexer" package

Please follow the step by step instructions below to install smarty-lexer on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install smarty-lexer

2. Uninstall "smarty-lexer" package

This is a short guide on how to uninstall smarty-lexer on Ubuntu 21.10 (Impish Indri):

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

3. Information about the smarty-lexer package on Ubuntu 21.10 (Impish Indri)

Package: smarty-lexer
Architecture: all
Version: 3.1.32+dfsg1-4
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-4_all.deb
Size: 58452
MD5sum: 90704130d88011537ccc6c2a4e2c373b
SHA1: 115f6c840b148ea9316fd2c7eea2eecf9076c425
SHA256: 0ee59685ecc885a99e3089cf632f4a6b29be926f911b672b5265b4bfcf8900d7
SHA512: 2690ca55e8c820a2d16ec9037f1b03ecdf927a08c65100cd37ad89d60e193d891902d9d7e72c3cea9079f014afef8be08e4fc04b239199cf37fb67522aad30b2
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