How to Install and Uninstall php7.0-ssh2 Package on Debian 12 (Bookworm)

Last updated: May 15,2024

1. Install "php7.0-ssh2" package

Please follow the steps below to install php7.0-ssh2 on Debian 12 (Bookworm)

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

2. Uninstall "php7.0-ssh2" package

Here is a brief guide to show you how to uninstall php7.0-ssh2 on Debian 12 (Bookworm):

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

3. Information about the php7.0-ssh2 package on Debian 12 (Bookworm)

Package: php7.0-ssh2
Source: php-ssh2
Version: 1.4-1+0~20231125.29+debian12~1.gbpbf65fb
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 110
Pre-Depends: php-common (>= 2:69~)
Depends: php7.0-common, phpapi-20151012, libc6 (>= 2.14), libssh2-1 (>= 1.7.0)
Breaks: libssh2-php (<< 0.12-2), php-ssh2 (<< 1.4-1+0~20231125.29+debian12~1.gbpbf65fb~)
Replaces: libssh2-php (<< 0.12-2), php-ssh2 (<< 1.4-1+0~20231125.29+debian12~1.gbpbf65fb~)
Provides: php-ssh2
Homepage: http://pecl.php.net/package/ssh2
Priority: extra
Section: php
Filename: pool/main/p/php-ssh2/php7.0-ssh2_1.4-1+0~20231125.29+debian12~1.gbpbf65fb_amd64.deb
Size: 29748
SHA256: 9a1aedd6df8c9f3e9d17a2272f11c4b8eb6fd87b4eb88045c90ae50ff0c9db0e
SHA1: caa3ca1ee6d9c2478d87091ebc84415361de11be
MD5sum: 0769880bc54e04033d7b85be6ed9fd7e
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