How to Install and Uninstall php-ssh2 Package on Ubuntu 21.10 (Impish Indri)

Last updated: December 23,2024

1. Install "php-ssh2" package

This is a short guide on how to install php-ssh2 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-ssh2

2. Uninstall "php-ssh2" package

In this section, we are going to explain the necessary steps to uninstall php-ssh2 on Ubuntu 21.10 (Impish Indri):

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

3. Information about the php-ssh2 package on Ubuntu 21.10 (Impish Indri)

Package: php-ssh2
Priority: extra
Section: php
Installed-Size: 13
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.3.1+0.13-2+ubuntu21.10.1+deb.sury.org+3
Replaces: libssh2-php (<< 0.12-2)
Depends: php8.1-ssh2
Pre-Depends: php-common (>= 2:69~)
Breaks: libssh2-php (<< 0.12-2)
Filename: pool/main/p/php-ssh2/php-ssh2_1.3.1+0.13-2+ubuntu21.10.1+deb.sury.org+3_amd64.deb
Size: 5132
MD5sum: 13d60e794938e5a974609f9fcd91fc70
SHA1: 052f42db2167b724ca74da8082cf28490d231c27
SHA256: 0f73f6911da00b308f5e0b8f6f48e0cc1d458ac0065ef9019fac106f954ce815
Description-en: Bindings for the libssh2 library
Provides PHP bindings to the functions of libssh2 which implements
the SSH2 protocol.
.
WARNING: The PHP 7.0 is an unreleased git snapshot of current ssh2
that implements support for PHP 7.0. USE WITH CAUTION!
Description-md5: 8adc0199b55f9ddf168edba900604566

Package: php-ssh2
Architecture: amd64
Version: 1.3.1+0.13-0+deb11u1build1
Priority: extra
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PECL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 119
Provides: php8.0-ssh2
Pre-Depends: php-common (>= 2:69~)
Depends: phpapi-20200930, libc6 (>= 2.14), libssh2-1 (>= 1.2.9)
Breaks: libssh2-php (<< 0.12-2)
Replaces: libssh2-php (<< 0.12-2)
Filename: pool/universe/p/php-ssh2/php-ssh2_1.3.1+0.13-0+deb11u1build1_amd64.deb
Size: 29480
MD5sum: 70a9bfcf089017a24a1ec6f0fde71b67
SHA1: e2dbe8ffd41feb0ac27b01d44d85f687659b931a
SHA256: 1926193c3d8b8b397911602bd07695b87b9608378fd02bf196eaea74dd6da731
SHA512: 89f92ac970218a08cddf88600e12b49984972f3e2b8d147e346dd8b008a2afb76cd9ef3318bc52dd9e2ed783d53c0e0be5f6b3e69a3cd79e0cf214b17b7d265a
Homepage: http://pecl.php.net/package/ssh2
Description-en: Bindings for the libssh2 library
Provides PHP bindings to the functions of libssh2 which implements
the SSH2 protocol.
.
WARNING: The PHP 7.0 is an unreleased git snapshot of current ssh2
that implements support for PHP 7.0. USE WITH CAUTION!
Description-md5: 8adc0199b55f9ddf168edba900604566