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

Last updated: May 19,2024

1. Install "php7.1-ssh2" package

This tutorial shows how to install php7.1-ssh2 on Debian 12 (Bookworm)

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

2. Uninstall "php7.1-ssh2" package

Please follow the instructions below to uninstall php7.1-ssh2 on Debian 12 (Bookworm):

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

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

Package: php7.1-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.1-common, phpapi-20160303, 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.1-ssh2_1.4-1+0~20231125.29+debian12~1.gbpbf65fb_amd64.deb
Size: 29692
SHA256: 7d3d5de6fc75e1aafa2590fb7c31c39664892699b14ad42b4acd2f763329bf4c
SHA1: dc5de70e9283b99439ba9c5ab833721f532e25d1
MD5sum: da03118b3bc481c1b6f9953742fd6f05
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