How to Install and Uninstall php-ssh2 Package on Debian 10 (Buster)

Last updated: March 28,2024

1. Install "php-ssh2" package

Please follow the guidelines below to install php-ssh2 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install php-ssh2

2. Uninstall "php-ssh2" package

This guide let you learn how to uninstall php-ssh2 on Debian 10 (Buster):

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

3. Information about the php-ssh2 package on Debian 10 (Buster)

Package: php-ssh2
Version: 1.3.1+0.13-6+0~20220117.24+debian10~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+debian10~1.gbpe1a643_amd64.deb
Size: 5296
SHA256: df1e8972400d84283864edb6392fb59ed21a183ab897b2a3b801db5445db4306
SHA1: 46bdd3598d5f9cd862fe56745a9e4ce3ef7ed8c9
MD5sum: d7c5395c2e62edc9c48ce96f62ed95bc
Description: Bindings for the libssh2 library
Description-md5: 8adc0199b55f9ddf168edba900604566

Package: php-ssh2
Version: 1.1.2+0.13-4
Installed-Size: 113
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Replaces: libssh2-php (<< 0.12-2)
Provides: php7.3-ssh2
Depends: php-common (>= 1:7.0+33~), phpapi-20180731, libc6 (>= 2.14), libssh2-1 (>= 1.2.9)
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.1.2+0.13-4_amd64.deb
Size: 29676
MD5sum: fd188f4461228a7f8b4fdf2e6d811fad
SHA256: 1f610ccb1168dc9ec654e37174739a5c3e844293dfcf191cb9379e33ff116e47