How to Install and Uninstall php7.0-sodium Package on Debian 11 (Bullseye)

Last updated: December 26,2024

1. Install "php7.0-sodium" package

This tutorial shows how to install php7.0-sodium on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php7.0-sodium

2. Uninstall "php7.0-sodium" package

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

$ sudo apt remove php7.0-sodium $ sudo apt autoclean && sudo apt autoremove

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

Package: php7.0-sodium
Source: php-sodium
Version: 2.0.23-7+0~20211118.14+debian11~1.gbp3e6fa2
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 122
Depends: php7.0-common, php-common (>= 1:7.0+33~), libc6 (>= 2.14), libsodium23 (>= 1.0.14)
Breaks: php-sodium (<< 2.0.23-7+0~20211118.14+debian11~1.gbp3e6fa2~)
Replaces: php-sodium (<< 2.0.23-7+0~20211118.14+debian11~1.gbp3e6fa2~)
Provides: php-sodium
Homepage: http://pecl.php.net/package/libsodium
Priority: optional
Section: php
Filename: pool/main/p/php-sodium/php7.0-sodium_2.0.23-7+0~20211118.14+debian11~1.gbp3e6fa2_amd64.deb
Size: 25444
SHA256: 18dd62d951656b038583ad1434861bcb1837134912658e309abb5592aef5eb19
SHA1: f5ab5976babc51703b9002a342f4b54490828295
MD5sum: 6b0ad0e0ee8a0a0eb96e9d9350e48f5a
Description: PHP wrapper for the Sodium cryptographic library
A simple, low-level PHP extension for sodium.
Description-md5: 67702d04fb72dfce1cdf12ceb5ccd473