How to Install and Uninstall php5.6-ssh2 Package on Debian 11 (Bullseye)

Last updated: May 01,2024

1. Install "php5.6-ssh2" package

This tutorial shows how to install php5.6-ssh2 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php5.6-ssh2

2. Uninstall "php5.6-ssh2" package

Please follow the steps below to uninstall php5.6-ssh2 on Debian 11 (Bullseye):

$ sudo apt remove php5.6-ssh2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the php5.6-ssh2 package on Debian 11 (Bullseye)

Package: php5.6-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: 103
Pre-Depends: php-common (>= 2:69~)
Depends: php5.6-common, phpapi-20131226, libc6 (>= 2.4), 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/php5.6-ssh2_1.3.1+0.13-6+0~20220117.24+debian11~1.gbpe1a643_amd64.deb
Size: 29336
SHA256: acd9615c5c9b9bfea754ea1033014f09fdf69576bbf8328e516998d3e0e2ae0a
SHA1: 3497638fea6efbdd05a3958c34472fa93375c629
MD5sum: 60821bf5867bd9c1cc2317a4c659dc0e
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