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

Last updated: May 17,2024

1. Install "php7.4-ssh2" package

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

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

2. Uninstall "php7.4-ssh2" package

This guide let you learn how to uninstall php7.4-ssh2 on Debian 12 (Bookworm):

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

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

Package: php7.4-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.4-common, phpapi-20190902, 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.4-ssh2_1.4-1+0~20231125.29+debian12~1.gbpbf65fb_amd64.deb
Size: 30132
SHA256: 21e93018bedf64b33ea9bf55ca1610418ca5eacf524a47d9caee45316de76611
SHA1: f77fc2ed405672998d14313ee62f7f25aa6dcd3b
MD5sum: 8a4f50b860e67bc42af26f1eaa47f9ed
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