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

Last updated: July 05,2024

1. Install "php7.1-ssh2" package

This is a short guide on how to install php7.1-ssh2 on Debian 11 (Bullseye)

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

2. Uninstall "php7.1-ssh2" package

Please follow the guidance below to uninstall php7.1-ssh2 on Debian 11 (Bullseye):

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

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

Package: php7.1-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.1-common, phpapi-20160303, 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.1-ssh2_1.3.1+0.13-6+0~20220117.24+debian11~1.gbpe1a643_amd64.deb
Size: 30760
SHA256: 54a8656bc90799dda219e93b1702ec4845aaba3013c58b26544f1d9c9a0d85f9
SHA1: 566cdca28cb41eb991cad1599b66daa75615d723
MD5sum: e929df61bf6dd12e699e4199b5d0b024
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