How to Install and Uninstall php-sodium Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: January 19,2025
Notice
You can also install and uninstall the php-sodium on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "php-sodium" package
This guide covers the steps necessary to install php-sodium on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
php-sodium
Copied
2. Uninstall "php-sodium" package
In this section, we are going to explain the necessary steps to uninstall php-sodium on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
php-sodium
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php-sodium package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: php-sodium
Priority: optional
Section: php
Installed-Size: 10
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 2.0.23-9+ubuntu22.04.1+deb.sury.org+1
Depends: php7.1-sodium
Filename: pool/main/p/php-sodium/php-sodium_2.0.23-9+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 3180
MD5sum: 339823422d0555c7f2f26152e0d45b6f
SHA1: 4ba0fa059680639393151cf7398086da30e28a25
SHA256: cb645d246247488d52a97b81244c073ecc7aa522f714b52c9f592ae6da1b8dee
Description: PHP wrapper for the Sodium cryptographic library
Description-md5: 67702d04fb72dfce1cdf12ceb5ccd473
Priority: optional
Section: php
Installed-Size: 10
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 2.0.23-9+ubuntu22.04.1+deb.sury.org+1
Depends: php7.1-sodium
Filename: pool/main/p/php-sodium/php-sodium_2.0.23-9+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 3180
MD5sum: 339823422d0555c7f2f26152e0d45b6f
SHA1: 4ba0fa059680639393151cf7398086da30e28a25
SHA256: cb645d246247488d52a97b81244c073ecc7aa522f714b52c9f592ae6da1b8dee
Description: PHP wrapper for the Sodium cryptographic library
Description-md5: 67702d04fb72dfce1cdf12ceb5ccd473