How to Install and Uninstall php-sodium Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: June 16,2024

1. Install "php-sodium" package

Please follow the guidance below to install php-sodium on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php-sodium

2. Uninstall "php-sodium" package

In this section, we are going to explain the necessary steps to uninstall php-sodium on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php-sodium package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php-sodium
Priority: optional
Section: php
Installed-Size: 10
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 2.0.23-9+ubuntu20.04.1+deb.sury.org+1
Depends: php7.1-sodium
Filename: pool/main/p/php-sodium/php-sodium_2.0.23-9+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 3256
MD5sum: aef772783381666c3ed03d2a93116d21
SHA1: 783aee577ba69a2cb594e8f06e5dd78b80220618
SHA256: cbb679edb648ebd16c76e87b6c2b63414d53e4ada42e358804be85477378e3ab
Description: PHP wrapper for the Sodium cryptographic library
Description-md5: 67702d04fb72dfce1cdf12ceb5ccd473