How to Install and Uninstall php-di Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 17,2024

1. Install "php-di" package

Please follow the step by step instructions below to install php-di on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install php-di

2. Uninstall "php-di" package

This guide covers the steps necessary to uninstall php-di on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the php-di package on Ubuntu 24.04 LTS (Noble Numbat)

Package: php-di
Architecture: all
Version: 7.0.6-1
Multi-Arch: foreign
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 367
Provides: php-psr-container-implementation (= 1.0)
Depends: php-common, php-psr-container (>= 1.1), php-psr-container (<< 3.0~~), php-di-invoker (>= 2.0), php-di-invoker (<< 3~~), php-laravel-serializable-closure (>= 1.0), php-laravel-serializable-closure (<< 2~~)
Suggests: php-friendsofphp-proxy-manager-lts
Filename: pool/universe/p/php-di/php-di_7.0.6-1_all.deb
Size: 91958
MD5sum: d84068d52df551d7909fde80630f1ddd
SHA1: 0a8c230b80ecf56160c0b66cfaba2a914efc2985
SHA256: 502fec0593265ed7954f357db6766a63c6e8627f4e3bf79f5907230f8efe009a
SHA512: bf29a8fa5024ee0885232c4d9b5ca43853d842539a0ea918c712884deb66b6b51fe8aa5de126afe624a4d7ca05e67803334c85e37e3da1bd4e97be636e4a1510
Homepage: https://github.com/PHP-DI/PHP-DI
Description: Dependency injection container meant to be practical and framework-agnostic
Description-md5: b590882321558d351d10860e9f391199

5. The same packages on other Linux Distributions