How to Install and Uninstall php-ssh2 Package on Debian 12 (Bookworm)

Last updated: December 23,2024

1. Install "php-ssh2" package

In this section, we are going to explain the necessary steps to install php-ssh2 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php-ssh2

2. Uninstall "php-ssh2" package

Please follow the guidance below to uninstall php-ssh2 on Debian 12 (Bookworm):

$ sudo apt remove php-ssh2 $ sudo apt autoclean && sudo apt autoremove

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

Package: php-ssh2
Version: 1.4-1+0~20231125.29+debian12~1.gbpbf65fb
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 12
Pre-Depends: php-common (>= 2:69~)
Depends: php8.3-ssh2
Breaks: libssh2-php (<< 0.12-2)
Replaces: libssh2-php (<< 0.12-2)
Homepage: http://pecl.php.net/package/ssh2
Priority: extra
Section: php
Filename: pool/main/p/php-ssh2/php-ssh2_1.4-1+0~20231125.29+debian12~1.gbpbf65fb_amd64.deb
Size: 3924
SHA256: cfd6ded833686abab832ee37899527b0bed49f9961f2aa72870c7cd9394e8ca9
SHA1: 0b98ca655eeea5869912b6da967a3602b4764c78
MD5sum: 07592bf5ab78200011a0ab27aade12b9
Description: Bindings for the libssh2 library
Description-md5: 8e85253b9a7523866cce9de62c2cede7

Package: php-ssh2
Version: 1.3.1+0.13-7
Installed-Size: 11
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Replaces: libssh2-php (<< 0.12-2)
Depends: php8.2-ssh2
Pre-Depends: php-common (>= 2:69~)
Breaks: libssh2-php (<< 0.12-2)
Description: Bindings for the libssh2 library
Description-md5: 8e85253b9a7523866cce9de62c2cede7
Homepage: http://pecl.php.net/package/ssh2
Section: php
Priority: optional
Filename: pool/main/p/php-ssh2/php-ssh2_1.3.1+0.13-7_amd64.deb
Size: 3740
MD5sum: 1e5e97bec50c13cea5975a46bb5c4bcb
SHA256: fcf05fcf00c7f9e762f5c2c1d9727f3d4adce992f45964af6cebf38fd7c79918