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

Last updated: December 23,2024

1. Install "php8.1-ssh2" package

Please follow the instructions below to install php8.1-ssh2 on Debian 12 (Bookworm)

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

2. Uninstall "php8.1-ssh2" package

This guide covers the steps necessary to uninstall php8.1-ssh2 on Debian 12 (Bookworm):

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

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

Package: php8.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: php8.1-common, phpapi-20210902, 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/php8.1-ssh2_1.4-1+0~20231125.29+debian12~1.gbpbf65fb_amd64.deb
Size: 29864
SHA256: 5b6bc512d8285c3adbbe33b29de473e12c9b3adb9a48082af9bdba1563e5e1c6
SHA1: 699fba2c896eea823e6bfe541805491f9dc18c82
MD5sum: dcf2a619d60b610bd3f626a9db8c1742
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