How to Install and Uninstall php-ssh2 Package on Debian 11 (Bullseye)

Last updated: April 19,2024

1. Install "php-ssh2" package

This guide covers the steps necessary to install php-ssh2 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php-ssh2

2. Uninstall "php-ssh2" package

This is a short guide on how to uninstall php-ssh2 on Debian 11 (Bullseye):

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

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

Package: php-ssh2
Version: 1.3.1+0.13-6+0~20220117.24+debian11~1.gbpe1a643
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 13
Pre-Depends: php-common (>= 2:69~)
Depends: php8.1-ssh2
Breaks: libssh2-php (<< 0.12-2)
Replaces: libssh2-php (<< 0.12-2)
Homepage: http://pecl.php.net/package/ssh2
Priority: extra
Section: php
Filename: pool/main/p/php-ssh2/php-ssh2_1.3.1+0.13-6+0~20220117.24+debian11~1.gbpe1a643_amd64.deb
Size: 5296
SHA256: 47625973ca0370dc28f046b286260f3d26af727ec24751449686d48ff5922b2d
SHA1: 0852d03fdb9e0b0a9c320686e4320fadeb687523
MD5sum: c944ac69a5ba217ef84e98a2e6b905cf
Description: Bindings for the libssh2 library
Description-md5: 8adc0199b55f9ddf168edba900604566

Package: php-ssh2
Version: 1.2+0.13-4
Installed-Size: 114
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Replaces: libssh2-php (<< 0.12-2)
Provides: php7.4-ssh2
Depends: phpapi-20190902, libc6 (>= 2.14), libssh2-1 (>= 1.2.9)
Pre-Depends: php-common (>= 2:69~)
Breaks: libssh2-php (<< 0.12-2)
Description: Bindings for the libssh2 library
Description-md5: 8adc0199b55f9ddf168edba900604566
Homepage: http://pecl.php.net/package/ssh2
Section: php
Priority: optional
Filename: pool/main/p/php-ssh2/php-ssh2_1.2+0.13-4_amd64.deb
Size: 30180
MD5sum: 7b1cba10c5b21c94af0d20f7fe21d67b
SHA256: b6b0b5f8aa85bd62c1ffd8c066d941d99edbe908a384bde0d7543a09aa06e26f