How to Install and Uninstall php-twig Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 15,2024

1. Install "php-twig" package

Please follow the step by step instructions below to install php-twig on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-twig

2. Uninstall "php-twig" package

Here is a brief guide to show you how to uninstall php-twig on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove php-twig $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-twig package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php-twig
Architecture: all
Version: 2.4.6-1
Priority: optional
Section: universe/php
Source: twig
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 783
Depends: php-mbstring, php-common
Suggests: php-twig-doc
Filename: pool/universe/t/twig/php-twig_2.4.6-1_all.deb
Size: 83732
MD5sum: 7a3a18871e85af5ee93a4519e7e1f626
SHA1: c5bba8fecf1d88f91963e64c92fa5a04f13a64d1
SHA256: 22f2e9b50aae5fad122207c69e3091591aea95b6b6f42ffed859d4d5e4f22962
Homepage: http://twig.sensiolabs.org/
Description: Flexible, fast, and secure template engine for PHP
Description-md5: 25743e06d2c046c909154968fd43beea