How to Install and Uninstall php7.2-ssh2 Package on Debian 11 (Bullseye)

Last updated: December 25,2024

1. Install "php7.2-ssh2" package

Please follow the guidance below to install php7.2-ssh2 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php7.2-ssh2

2. Uninstall "php7.2-ssh2" package

This tutorial shows how to uninstall php7.2-ssh2 on Debian 11 (Bullseye):

$ sudo apt remove php7.2-ssh2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.2-ssh2 package on Debian 11 (Bullseye)

Package: php7.2-ssh2
Source: php-ssh2
Version: 1.3.1+0.13-6+0~20220117.24+debian11~1.gbpe1a643
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 111
Pre-Depends: php-common (>= 2:69~)
Depends: php7.2-common, phpapi-20170718, libc6 (>= 2.14), libssh2-1 (>= 1.2.9)
Breaks: libssh2-php (<< 0.12-2), php-ssh2 (<< 1.3.1+0.13-6+0~20220117.24+debian11~1.gbpe1a643~)
Replaces: libssh2-php (<< 0.12-2), php-ssh2 (<< 1.3.1+0.13-6+0~20220117.24+debian11~1.gbpe1a643~)
Provides: php-ssh2
Homepage: http://pecl.php.net/package/ssh2
Priority: extra
Section: php
Filename: pool/main/p/php-ssh2/php7.2-ssh2_1.3.1+0.13-6+0~20220117.24+debian11~1.gbpe1a643_amd64.deb
Size: 30860
SHA256: 3bc111a6cf170de5aef5a523305a5040862e5675255b1d35d65b5493fd2ff3b8
SHA1: 1d90f21220f16d8dfe5b8f415443fa95305e80b3
MD5sum: 8ffeecd33cc98d206439242c1fcb549a
Description: 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