How to Install and Uninstall php-sodium Package on Debian 11 (Bullseye)

Last updated: March 28,2024

1. Install "php-sodium" package

This guide let you learn how to install php-sodium on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php-sodium

2. Uninstall "php-sodium" package

Please follow the steps below to uninstall php-sodium on Debian 11 (Bullseye):

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

3. Information about the php-sodium package on Debian 11 (Bullseye)

Package: php-sodium
Version: 2.0.23-7+0~20211118.14+debian11~1.gbp3e6fa2
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 10
Depends: php7.1-sodium
Homepage: http://pecl.php.net/package/libsodium
Priority: optional
Section: php
Filename: pool/main/p/php-sodium/php-sodium_2.0.23-7+0~20211118.14+debian11~1.gbp3e6fa2_amd64.deb
Size: 3252
SHA256: 9cae659bf28283eaa19d6505e10c6ff6c71dd2872c49aeb6c84a871e01b7fff3
SHA1: a366762990808f3eef6f22ea5f7e590279555f81
MD5sum: 35f8c93885de7cebeb1b076941017377
Description: PHP wrapper for the Sodium cryptographic library
A simple, low-level PHP extension for sodium.
Description-md5: 67702d04fb72dfce1cdf12ceb5ccd473