How to Install and Uninstall php7.0-ssh2 Package on Debian 10 (Buster)

Last updated: May 06,2024

1. Install "php7.0-ssh2" package

This tutorial shows how to install php7.0-ssh2 on Debian 10 (Buster)

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

2. Uninstall "php7.0-ssh2" package

In this section, we are going to explain the necessary steps to uninstall php7.0-ssh2 on Debian 10 (Buster):

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

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

Package: php7.0-ssh2
Source: php-ssh2
Version: 1.3.1+0.13-6+0~20220117.24+debian10~1.gbpe1a643
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 111
Pre-Depends: php-common (>= 2:69~)
Depends: php7.0-common, phpapi-20151012, 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+debian10~1.gbpe1a643~)
Replaces: libssh2-php (<< 0.12-2), php-ssh2 (<< 1.3.1+0.13-6+0~20220117.24+debian10~1.gbpe1a643~)
Provides: php-ssh2
Homepage: http://pecl.php.net/package/ssh2
Priority: extra
Section: php
Filename: pool/main/p/php-ssh2/php7.0-ssh2_1.3.1+0.13-6+0~20220117.24+debian10~1.gbpe1a643_amd64.deb
Size: 30684
SHA256: 8a15413db14fc43875c156c5a24efdeaf5231b7ecc0b7961c2f2adffdec6c593
SHA1: 9e9dae825f8cf17b502cdfe0fa0eb7e08d511ef5
MD5sum: 53e0556db5ed2b4091e2fe11e0acfa51
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