How to Install and Uninstall php7.1-sodium Package on Debian 12 (Bookworm)

Last updated: November 22,2024

1. Install "php7.1-sodium" package

In this section, we are going to explain the necessary steps to install php7.1-sodium on Debian 12 (Bookworm)

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

2. Uninstall "php7.1-sodium" package

This tutorial shows how to uninstall php7.1-sodium on Debian 12 (Bookworm):

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

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

Package: php7.1-sodium
Source: php-sodium
Version: 2.0.23-9+0~20231125.19+debian12~1.gbp064888
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 122
Depends: php7.1-common, php-common (>= 1:7.0+33~), phpapi-20160303, libc6 (>= 2.14), libsodium23 (>= 1.0.14)
Breaks: php-sodium (<< 2.0.23-9+0~20231125.19+debian12~1.gbp064888~)
Replaces: php-sodium (<< 2.0.23-9+0~20231125.19+debian12~1.gbp064888~)
Provides: php-sodium
Homepage: http://pecl.php.net/package/libsodium
Priority: optional
Section: php
Filename: pool/main/p/php-sodium/php7.1-sodium_2.0.23-9+0~20231125.19+debian12~1.gbp064888_amd64.deb
Size: 25600
SHA256: c1d48e43855f03809ba5eb6f00414afd7e209403220eef82d85cde9a83d53ff1
SHA1: b3138b2a8c60cae9c7ef35a129eb2493f6793235
MD5sum: 51306acf106cfc301b0a31e442f55ab1
Description: PHP wrapper for the Sodium cryptographic library
A simple, low-level PHP extension for sodium.
Description-md5: 67702d04fb72dfce1cdf12ceb5ccd473