How to Install and Uninstall php-sodium Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 26,2024

1. Install "php-sodium" package

This is a short guide on how to install php-sodium on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install php-sodium

2. Uninstall "php-sodium" package

Please follow the instructions below to uninstall php-sodium on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php-sodium package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php-sodium
Priority: optional
Section: php
Installed-Size: 10
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 2.0.23-6+ubuntu16.04.1+deb.sury.org+1
Depends: php7.1-sodium
Filename: pool/main/p/php-sodium/php-sodium_2.0.23-6+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 3086
MD5sum: 2eddf351df654deaa237e37b883c61be
SHA1: 6066d8d06be11517eb64934a3d01c91495bdc218
SHA256: f9d5993797ef99a83d132add6131955d040c04a1d1e41787b2da29fa04446377
Description-en: PHP wrapper for the Sodium cryptographic library
A simple, low-level PHP extension for sodium.
Description-md5: 67702d04fb72dfce1cdf12ceb5ccd473