How to Install and Uninstall php-sodium.x86_64 Package on Amazon Linux 2

Last updated: November 25,2024

1. Install "php-sodium.x86_64" package

Please follow the steps below to install php-sodium.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install php-sodium.x86_64

2. Uninstall "php-sodium.x86_64" package

This tutorial shows how to uninstall php-sodium.x86_64 on Amazon Linux 2:

$ sudo yum remove php-sodium.x86_64 $ sudo yum autoremove

3. Information about the php-sodium.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : php-sodium
Arch : x86_64
Version : 7.4.28
Release : 1.amzn2
Size : 81 k
Repo : amzn2extra-php7.4/2/x86_64
Summary : Wrapper for the Sodium cryptographic library
URL : http://www.php.net/
License : PHP
Description : The php-sodium package provides a simple,
: low-level PHP extension for the libsodium cryptographic library.