php-sodium on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: January 29,2023

1. Install php-sodium package

This is a short guide on how to install php-sodium package:

sudo apt update
sudo apt install php-sodium

2. Uninstall / Remove php-sodium package

This tutorial shows how to uninstall php-sodium package:

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

3. Details of php-sodium package

Package: php-sodium
Priority: optional
Section: php
Installed-Size: 10
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 2.0.23-7+ubuntu18.04.1+deb.sury.org+3
Depends: php7.1-sodium
Filename: pool/main/p/php-sodium/php-sodium_2.0.23-7+ubuntu18.04.1+deb.sury.org+3_amd64.deb
Size: 3196
MD5sum: fa0f4a1828360d6225520504c08b593e
SHA1: bdd0bb74bc9244d57c32a2c30760490a813be397
SHA256: 95f33cc57ded6ef288188b3ee2d7c87f0a7cd4feac47398857d04232667c17c7
Description: PHP wrapper for the Sodium cryptographic library
Description-md5: 67702d04fb72dfce1cdf12ceb5ccd473