How to Install and Uninstall php-sodium Package on Debian 12 (Bookworm)

Last updated: December 24,2024

1. Install "php-sodium" package

Please follow the guidelines below to install php-sodium on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php-sodium

2. Uninstall "php-sodium" package

Please follow the steps below to uninstall php-sodium on Debian 12 (Bookworm):

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

3. Information about the php-sodium package on Debian 12 (Bookworm)

Package: php-sodium
Version: 2.0.23-9+0~20231125.19+debian12~1.gbp064888
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-9+0~20231125.19+debian12~1.gbp064888_amd64.deb
Size: 3196
SHA256: 8807ba9cda288af83004f7ad95f0fd097a0efee4f9a89d49d95db90d8450356b
SHA1: a74243ae22731425ac4b1c0f472b60885c0cf398
MD5sum: 4713f6f819a9b7ed95ba705154f9e37f
Description: PHP wrapper for the Sodium cryptographic library
A simple, low-level PHP extension for sodium.
.
This is empty package that depends on default PHP version.
Description-md5: aea0ae63eb1a4681302dd87e79a8459c